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: