ansible/roles/common/tasks/chrony.yml

12 lines
229 B
YAML
Raw Normal View History

2017-03-26 20:02:33 +02:00
---
2021-09-29 17:42:39 +02:00
- name: Install chrony
apt: name=chrony
2017-03-26 20:02:33 +02:00
2021-09-29 17:42:39 +02:00
- name: Configure chrony
template: src=chrony.conf.j2 dest=/etc/chrony/chrony.conf
notify: Restart chrony
2017-03-26 20:02:33 +02:00
2021-09-29 17:42:39 +02:00
- name: Start chrony
service: name=chrony state=started enabled=yes