ansible/roles/common/tasks/chrony.yml

12 lines
229 B
YAML
Raw Normal View History

---
- name: Install chrony
apt: name=chrony
- name: Configure chrony
template: src=chrony.conf.j2 dest=/etc/chrony/chrony.conf
notify: Restart chrony
2024-11-20 18:16:06 +01:00
- name: Start chrony
service: name=chrony state=started enabled=yes