mirror of https://github.com/ceph/ceph-ansible.git
14 lines
270 B
YAML
14 lines
270 B
YAML
|
---
|
||
|
- name: include ../checks/check_ntp_rpm.yml
|
||
|
include: ../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
|