Configure ntp
This commit is contained in:
parent
33bb6df38d
commit
40f5190b3d
14
machine.yml
14
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.
|
||||
# ----------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user