ceph-ansible/roles/ceph-docker-common/tasks/misc/ntp_rpm.yml

14 lines
276 B
YAML

---
- name: include ../checks/check_ntp_rpm.yml
include_tasks: ../checks/check_ntp_rpm.yml
when:
- ansible_os_family in ['RedHat', 'Suse']
- name: start the ntp service
service:
name: ntpd
enabled: yes
state: started
when:
- ntp_pkg_query.rc == 0