1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ntp.git synced 2024-08-16 12:59:49 +02:00
ansible_role_ntp/handlers/main.yml

21 lines
387 B
YAML
Raw Normal View History

2018-12-28 10:49:24 +01:00
---
2018-12-28 15:10:34 +01:00
# handlers file for ansible-role-ntp
- name: Restart ntp daemons on Linux
2019-03-04 17:35:28 +01:00
become: yes
2018-12-28 15:10:34 +01:00
service:
name: "{{ ntp_service }}"
state: restarted
- name: Restart ntp daemons on FreeBSD
2019-03-04 17:35:28 +01:00
become: yes
2018-12-28 15:10:34 +01:00
service:
name: "{{ ntp_service }}"
state: restarted
- name: Restart ntp daemons on OpenBSD
2019-03-04 17:35:28 +01:00
become: yes
2018-12-28 15:10:34 +01:00
service:
name: "{{ ntp_service }}"
state: restarted