---
- 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
- ntp_pkg_query.rc == 0