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

notify systemd on directory update

This commit is contained in:
L3D 2023-11-28 03:49:51 +01:00
parent cac94e5c60
commit b65dfe4504
No known key found for this signature in database
GPG key ID: AD65B920933B4B20
3 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
---
- name: Restart ntp daemons on Linux
become: true
ansible.builtin.service:
ansible.builtin.systemd:
name: "{{ ntp_service }}"
state: restarted

View file

@ -17,3 +17,4 @@
recurse: true
mode: 'u=rwX,g=rX,o=rX'
owner: "{{ ntp_user }}"
notify: "Restart ntp daemons on {{ ansible_system }}"

View file

@ -30,7 +30,7 @@
- name: Service ntp on Linux
become: true
ansible.builtin.service:
ansible.builtin.systemd:
name: "{{ ntp_service }}"
enabled: true
state: started