homeserver/roles/mgrote.systemd-timesyncd/handlers/main.yml
mg ebfe95375b Abbau NTP-Server (#361)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#361
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-05-10 06:42:37 +02:00

8 lines
190 B
YAML

---
- name: restart systemd-timesyncd.service
become: yes
systemd:
name: systemd-timesyncd
state: restarted
when: not ansible_facts['virtualization_type'] == "lxc"