ceph-ansible/roles/ceph-common/tasks/misc/ntp_redhat.yml

14 lines
266 B
YAML

---
- name: include ../checks/check_ntp_redhat.yml
include: ../checks/check_ntp_redhat.yml
when:
- ansible_os_family == 'RedHat'
- name: start the ntp service
service:
name: ntpd
enabled: yes
state: started
when:
- ntp_pkg_query.rc == 0