ansible-role-ntp/handlers/main.yml

9 lines
235 B
YAML
Raw Normal View History

2021-07-22 16:39:09 +02:00
---
2021-07-22 17:40:29 +02:00
- 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
when: ntp_service_enabled | bool