- name: ntp - Configure ntp template: src=etc/ntp.conf.j2 dest=/etc/ntp.conf notify: - ntp - restart ntp- name: ntp - Enable ntp service: name=ntp state=running enabled=yes
- name: ntp - Configure ntp
template: src=etc/ntp.conf.j2 dest=/etc/ntp.conf
notify:
- ntp - restart ntp
- name: ntp - Enable ntp
service: name=ntp state=running enabled=yes
msg: no service or tool found for: ntp
ansible --version
ansible 1.9.1