Add ntp hard sync
This commit is contained in:
parent
2e6bd7d22e
commit
3d54aea283
@ -110,7 +110,7 @@
|
|||||||
with_items: common_required_packages
|
with_items: common_required_packages
|
||||||
register: aptupdates
|
register: aptupdates
|
||||||
- name: Set clock
|
- name: Set clock
|
||||||
shell: ntpd -q -g
|
shell: /etc/init.d/ntp stop && /usr/sbin/ntpd -q -g && /etc/init.d/ntp start
|
||||||
- name: Add modules
|
- name: Add modules
|
||||||
lineinfile: dest=/etc/modules line={{ item }}
|
lineinfile: dest=/etc/modules line={{ item }}
|
||||||
with_items: modules_required
|
with_items: modules_required
|
||||||
|
Loading…
Reference in New Issue
Block a user