Configure ntp

This commit is contained in:
Wojciech Kozlowski 2022-08-27 22:07:23 +02:00
parent 33bb6df38d
commit 40f5190b3d

View File

@ -6,6 +6,20 @@
tasks: tasks:
# ----------------------------------------------------------------------------------------------
# NTP.
# ----------------------------------------------------------------------------------------------
- name: Install systemd-timesyncd
apt:
name: systemd-timesyncd
- name: Enable/start NTP
service:
name: systemd-timesyncd
state: started
enabled: yes
# ---------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------
# E-mail configuration. # E-mail configuration.
# ---------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------