]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Update ntp atomic plays to use is_atomic variable 910/head
authorIvan Font <ivan.font@redhat.com>
Thu, 28 Jul 2016 23:43:48 +0000 (16:43 -0700)
committerIvan Font <ivan.font@redhat.com>
Mon, 8 Aug 2016 17:16:48 +0000 (10:16 -0700)
Signed-off-by: Ivan Font <ivan.font@redhat.com>
roles/ceph-common/tasks/checks/check_ntp_atomic.yml
roles/ceph-common/tasks/misc/ntp_atomic.yml

index e1fbba41ce3dfb8915e5e7cfae504ffe52822775..15a5b2d13b49fe37ad74c051390d89560567fcaf 100644 (file)
@@ -4,4 +4,3 @@
   register: ntp_pkg_query
   ignore_errors: true
   changed_when: false
-  when: ansible_os_family == 'RedHat'
index 3e47f839b785e2b2e3d8f2482092142c8f68231f..11dfc988e6e32cc34c6d4d1a692a8abdfa24bd77 100644 (file)
@@ -1,6 +1,6 @@
 ---
 - include: ../checks/check_ntp_atomic.yml
-  when: ansible_os_family == 'RedHat'
+  when: is_atomic
 
 - name: start the ntp service
   service: