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

18 lines
400 B
YAML

---
- name: Restart ntp daemons on Linux
become: true
ansible.builtin.service:
name: "{{ ntp_service }}"
state: restarted
- name: Restart ntp daemons on FreeBSD
become: true
ansible.builtin.service:
name: "{{ ntp_service }}"
state: restarted
- name: Restart ntp daemons on OpenBSD
become: true
ansible.builtin.service:
name: "{{ ntp_service }}"
state: restarted