chrony: handler (#34)

chrony: handler

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#34
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
Michael Grote 2021-03-13 19:50:01 +01:00
parent 435b396431
commit c626886ac5
2 changed files with 4 additions and 0 deletions

View file

@ -19,6 +19,7 @@
name:
- chrony
state: present
notify: restart_chrony
- name: copy chrony config
become: yes
@ -43,6 +44,7 @@
mode: 0755
owner: "{{ ntp_chrony_user }}"
group: "{{ ntp_chrony_group }}"
notify: restart_chrony
- name: set timezone to {{ ntp_chrony_timezone }}
become: yes

View file

@ -19,6 +19,7 @@
name:
- chrony
state: present
notify: restart_chrony
- name: copy chrony config
become: yes
@ -43,6 +44,7 @@
mode: 0755
owner: "{{ ntp_chrony_user }}"
group: "{{ ntp_chrony_group }}"
notify: restart_chrony
- name: set timezone to {{ ntp_chrony_timezone }}
become: yes