diff --git a/machine.yml b/machine.yml index 1c4321a..803ed4a 100644 --- a/machine.yml +++ b/machine.yml @@ -6,6 +6,20 @@ 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. # ----------------------------------------------------------------------------------------------