mirror of
https://github.com/roles-ansible/ansible_role_ntp.git
synced 2024-08-16 12:59:49 +02:00
18 lines
352 B
YAML
18 lines
352 B
YAML
---
|
|
- name: Restart ntp daemons on Linux
|
|
become: true
|
|
service:
|
|
name: "{{ ntp_service }}"
|
|
state: restarted
|
|
|
|
- name: Restart ntp daemons on FreeBSD
|
|
become: true
|
|
service:
|
|
name: "{{ ntp_service }}"
|
|
state: restarted
|
|
|
|
- name: Restart ntp daemons on OpenBSD
|
|
become: true
|
|
service:
|
|
name: "{{ ntp_service }}"
|
|
state: restarted
|