ansible/roles/ntp/tasks/main.yml
Markus Hauschild 9f50cb58b3
Some checks failed
continuous-integration/drone/push Build is failing
ntp: switch to chrony
2021-09-29 17:42:39 +02:00

12 lines
229 B
YAML

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