1
0
forked from infra/ansible
infra/roles/ntp/tasks/Debian.yml
2016-02-01 20:56:51 +01:00

15 lines
260 B
YAML

---
- name: Install ntp
apt: name=ntp state=present
tags: ntp
- name: Configure ntp
template: src=ntp.conf.j2 dest=/etc/ntp.conf
notify: Restart ntp
tags: ntp
- name: Start the ntp service
service: name=ntp state=started enabled=yes
tags: ntp