mirror of
https://github.com/roles-ansible/ansible_role_ntp.git
synced 2024-08-16 12:59:49 +02:00
Merge pull request #18 from roles-ansible/ntf
notify systemd on directory update
This commit is contained in:
commit
09864d03a2
3 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: Restart ntp daemons on Linux
|
||||
become: true
|
||||
ansible.builtin.service:
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ ntp_service }}"
|
||||
state: restarted
|
||||
|
||||
|
|
|
@ -17,3 +17,4 @@
|
|||
recurse: true
|
||||
mode: 'u=rwX,g=rX,o=rX'
|
||||
owner: "{{ ntp_user }}"
|
||||
notify: "Restart ntp daemons on {{ ansible_system }}"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
- name: Service ntp on Linux
|
||||
become: true
|
||||
ansible.builtin.service:
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ ntp_service }}"
|
||||
enabled: true
|
||||
state: started
|
||||
|
|
Loading…
Reference in a new issue