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

19 lines
400 B
YAML
Raw Normal View History

2018-12-28 10:49:24 +01:00
---
2018-12-28 15:10:34 +01:00
- name: Restart ntp daemons on Linux
become: true
2023-11-28 03:49:51 +01:00
ansible.builtin.systemd:
2018-12-28 15:10:34 +01:00
name: "{{ ntp_service }}"
state: restarted
- name: Restart ntp daemons on FreeBSD
become: true
ansible.builtin.service:
2018-12-28 15:10:34 +01:00
name: "{{ ntp_service }}"
state: restarted
- name: Restart ntp daemons on OpenBSD
become: true
ansible.builtin.service:
2018-12-28 15:10:34 +01:00
name: "{{ ntp_service }}"
state: restarted