- name: install ntp
  package: name=ntp state=present
  tags:
  - ntp
  - package
  - base

- name: install ntp.conf
  template: src=ntp.conf.j2 dest=/etc/ntp.conf
  tags:
  - ntp
  - config
  - base

- name: install ntp step-tickers
  copy: src=step-tickers dest=/etc/ntp/step-tickers
  tags:
  - ntp
  - config
  - base

- name: Start ntpd
  service: name=ntpd state=started enabled=yes
  tags:
  - ntp
  - service
  - base
