ansible-edda/playbooks/tasks/hosts/ntp.yml

10 lines
164 B
YAML

- name: Install systemd-timesyncd
apt:
name: systemd-timesyncd
- name: Enable NTP
systemd:
name: systemd-timesyncd
enabled: yes
state: started