--- - name: install ntp package: name: ntp state: present - name: start the ntp service service: name: ntpd enabled: yes state: started