mirror of https://github.com/ceph/ceph-ansible.git
Make NTP checks usable with '--check'
As those task are only reading the installed packages and their output is required in later tasks it is safe to run them also in check mode.pull/1115/head
parent
c8c927faeb
commit
9cfd0f4118
|
@ -3,4 +3,5 @@
|
|||
command: rpm -q chrony
|
||||
register: ntp_pkg_query
|
||||
ignore_errors: true
|
||||
always_run: true
|
||||
changed_when: false
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
command: dpkg -s ntp
|
||||
register: ntp_pkg_query
|
||||
ignore_errors: true
|
||||
always_run: true
|
||||
changed_when: false
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
command: rpm -q ntp
|
||||
register: ntp_pkg_query
|
||||
ignore_errors: true
|
||||
always_run: true
|
||||
changed_when: false
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
|
Loading…
Reference in New Issue