--- - name: include ../checks/check_ntp_debian.yml include_tasks: ../checks/check_ntp_debian.yml when: - ansible_os_family == 'Debian' - name: start the ntp service service: name: ntp enabled: yes state: started when: - ntp_pkg_query.rc == 0