NTP: deploy everywhere #97
2 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Restart chronyd
|
||||
systemd:
|
||||
name: chronyd.service
|
||||
name: chrony.service
|
||||
state: restarted
|
||||
...
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
---
|
||||
- name: Uninstall ntp and sntp
|
||||
apt:
|
||||
name:
|
||||
- sntp
|
||||
- ntp
|
||||
- systemd-timesyncd
|
||||
state: absent
|
||||
|
||||
- name: Install chronyd
|
||||
apt:
|
||||
name: chrony
|
||||
|
@ -18,7 +26,7 @@
|
|||
|
||||
- name: Enable and start chronyd
|
||||
systemd:
|
||||
name: chronyd.service
|
||||
name: chrony.service
|
||||
enabled: true
|
||||
state: started
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue