disable chronyd on el7 so ntpd can enable
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
ff413a111f
commit
d6b0a3611d
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,10 @@
|
|||
- ntp
|
||||
- config
|
||||
|
||||
- name: disable chronyd on el7
|
||||
service: name=chronyd state=stopped enabled=false
|
||||
when: ansible_cmdline.ostree is not defined and ansible_distribution_major_version|int == 7
|
||||
|
||||
- name: enable the service
|
||||
service: name=ntpd state=running enabled=true
|
||||
when: ansible_cmdline.ostree is not defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue