--- - 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