disable chronyd on el7 so ntpd can enable

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2016-06-04 07:38:11 +00:00
parent ff413a111f
commit d6b0a3611d

View file

@ -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