ceph-ansible/roles/ceph-common/tasks/checks/check_ntp_redhat.yml

8 lines
175 B
YAML

---
- name: check ntp installation on redhat
command: rpm -q ntp
register: ntp_pkg_query
ignore_errors: true
changed_when: false
when: ansible_os_family == 'RedHat'