system/tasks/time.yml
2018-12-02 21:03:03 +01:00

6 lines
165 B
YAML

---
- name: Enable timesync
command: timedatectl set-ntp true
become: yes
args:
creates: /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service