fix ntp
This commit is contained in:
parent
b1473506f1
commit
2f582b838d
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
apt:
|
apt:
|
||||||
name: systemd-timesyncd
|
name: systemd-timesyncd
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: no
|
||||||
|
|
||||||
- name: Configure timesyncd to use the router's NTP server
|
- name: Configure timesyncd to use the router's NTP server
|
||||||
shell: sed -i '/^NTP=/c\NTP=10.0.0.1' /etc/systemd/timesyncd.conf
|
shell: sed -i '/^NTP=/c\NTP=10.0.0.1' /etc/systemd/timesyncd.conf
|
||||||
|
|
Loading…
Reference in a new issue