This play breaks older playbooks and needs to check whether chronyd is installed
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
491f9a7e85
commit
4b0c451899
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
- 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
|
||||
ignore_errors: yes
|
||||
|
||||
- name: enable the service
|
||||
service: name=ntpd state=running enabled=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue