update Chrony
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
- net-tools
|
- net-tools
|
||||||
- ethtool
|
- ethtool
|
||||||
- nscd
|
- nscd
|
||||||
# - ntp
|
|
||||||
- sysstat
|
- sysstat
|
||||||
- tree
|
- tree
|
||||||
- unzip
|
- unzip
|
||||||
@@ -36,17 +35,13 @@
|
|||||||
sysctl: name=kernel.panic_on_oops value=1 state=present reload=yes ignoreerrors=yes
|
sysctl: name=kernel.panic_on_oops value=1 state=present reload=yes ignoreerrors=yes
|
||||||
|
|
||||||
# ---------------------------------------------------
|
# ---------------------------------------------------
|
||||||
# configuration du serveur NTPD
|
# Installation du package chrony
|
||||||
# ---------------------------------------------------
|
# ---------------------------------------------------
|
||||||
- name: Modification de la configuration NTP configuration (ajout du flag -x)
|
- name: Installation du package chrony
|
||||||
lineinfile: dest=/etc/sysconfig/ntpd
|
yum: name="chrony" state=installed
|
||||||
regexp='^OPTIONS='
|
|
||||||
line='OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid -g"'
|
|
||||||
state=present
|
|
||||||
create=yes
|
|
||||||
|
|
||||||
# - name: restart ntpd
|
- name: restart chronyd
|
||||||
# service: name=ntpd state=started enabled=yes
|
service: name=chronyd state=started enabled=yes
|
||||||
|
|
||||||
# ---------------------------------------------------
|
# ---------------------------------------------------
|
||||||
# configuration Linux : Selinux
|
# configuration Linux : Selinux
|
||||||
|
|||||||
Reference in New Issue
Block a user