--- - name: Restart NTP service: name: '{{ ntp_service_name }}' state: restarted - name: Restart systemd-timesyncd service: name: systemd-timesyncd state: restarted