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

16 lines
305 B
YAML

---
- name: Restart chrony
service:
name: "{{ item.name }}"
state: restarted
when: "{{ item.os == ansible_facts['distribution'] }}"
loop:
- os: Debian
name: chrony
- os: Archlinux
name: chronyd
- name: Restart journald
service: name=systemd-journald state=restarted