1
0
forked from infra/ansible
infra/roles/ntp/tasks/Debian.yml

15 lines
260 B
YAML
Raw Normal View History

2015-12-13 18:51:08 +01:00
---
- name: Install ntp
apt: name=ntp state=present
2016-02-01 20:56:51 +01:00
tags: ntp
2015-12-13 18:51:08 +01:00
- name: Configure ntp
template: src=ntp.conf.j2 dest=/etc/ntp.conf
notify: Restart ntp
2016-02-01 20:56:51 +01:00
tags: ntp
2015-12-13 18:51:08 +01:00
- name: Start the ntp service
service: name=ntp state=started enabled=yes
2016-02-01 20:56:51 +01:00
tags: ntp