ansible/roles/common/tasks/chrony.yml
Thomas Schmid 3dfff93c0e initial commit
Signed-off-by: Thomas Schmid <tom@lfence.de>
2022-01-11 20:29:31 +01:00

12 lines
247 B
YAML

---
- name: Install chrony for Debian
apt: name=chrony
notify: Restart chrony
when: ansible_os_family == "Debian"
- name: Install chrony for Archlinux
pacman: name=chrony
notify: Restart chrony
when: ansible_os_family == "Archlinux"