From ba92eb48e86556fb215c924b6d9080fcb54e1df1 Mon Sep 17 00:00:00 2001 From: Ivan Font Date: Thu, 28 Jul 2016 16:43:48 -0700 Subject: [PATCH] Update ntp atomic plays to use is_atomic variable Signed-off-by: Ivan Font --- roles/ceph-common/tasks/checks/check_ntp_atomic.yml | 1 - roles/ceph-common/tasks/misc/ntp_atomic.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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: -- 2.47.3