ansible/roles/ntp/tasks/Debian.yml

12 lines
210 B
YAML
Raw Normal View History

2015-12-13 18:51:08 +01:00
---
- name: Install ntp
2017-07-02 22:17:32 +02:00
apt: name=ntp
2015-12-13 18:51:08 +01:00
- name: Configure ntp
template: src=ntp.conf.j2 dest=/etc/ntp.conf
notify: Restart ntp
- name: Start the ntp service
service: name=ntp state=started enabled=yes