---
- name: Restart the ntp server
service: name=ntp state=restarted enabled=yes
when: ntp_service_enabled | bool
- name: Restart the ntpd server
service: name=ntpd state=restarted enabled=yes