From: Ivan Font Date: Thu, 28 Jul 2016 23:43:48 +0000 (-0700) Subject: Update ntp atomic plays to use is_atomic variable X-Git-Tag: v1.0.6~35^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F910%2Fhead;p=ceph-ansible.git Update ntp atomic plays to use is_atomic variable Signed-off-by: Ivan Font --- diff --git a/roles/ceph-common/tasks/checks/check_ntp_atomic.yml b/roles/ceph-common/tasks/checks/check_ntp_atomic.yml index e1fbba41c..15a5b2d13 100644 --- a/roles/ceph-common/tasks/checks/check_ntp_atomic.yml +++ b/roles/ceph-common/tasks/checks/check_ntp_atomic.yml @@ -4,4 +4,3 @@ register: ntp_pkg_query ignore_errors: true changed_when: false - when: ansible_os_family == 'RedHat' diff --git a/roles/ceph-common/tasks/misc/ntp_atomic.yml b/roles/ceph-common/tasks/misc/ntp_atomic.yml index 3e47f839b..11dfc988e 100644 --- a/roles/ceph-common/tasks/misc/ntp_atomic.yml +++ b/roles/ceph-common/tasks/misc/ntp_atomic.yml @@ -1,6 +1,6 @@ --- - include: ../checks/check_ntp_atomic.yml - when: ansible_os_family == 'RedHat' + when: is_atomic - name: start the ntp service service: