Add ntp hard sync

This commit is contained in:
Ansible Admin 2015-12-26 23:14:54 +01:00
parent 2e6bd7d22e
commit 3d54aea283

View File

@ -110,7 +110,7 @@
with_items: common_required_packages
register: aptupdates
- 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
lineinfile: dest=/etc/modules line={{ item }}
with_items: modules_required