ansible-roles/library/roles/ntp/handlers/main.yml

9 lines
235 B
YAML
Raw Normal View History

2019-10-25 12:32:10 +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