ansible-ffrgb/roles/ntp/tasks/main.yml

12 lines
210 B
YAML
Raw Normal View History

2017-03-26 20:02:33 +02:00
---
- name: Install ntp
apt: name=ntp
2017-03-26 20:02:33 +02: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