system/tasks/time.yml

6 lines
165 B
YAML
Raw Normal View History

2018-12-02 20:03:03 +00:00
---
- name: Enable timesync
command: timedatectl set-ntp true
become: yes
args:
creates: /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service