chrony: add handler to restart on config changes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
855b87b3d7
commit
9f6463ce8f
2 changed files with 5 additions and 0 deletions
|
@ -175,3 +175,6 @@
|
||||||
name: rabbitmq-server
|
name: rabbitmq-server
|
||||||
state: restarted
|
state: restarted
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
|
||||||
|
- name: restart chronyd
|
||||||
|
service: name=chronyd state=restarted
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
- name: install chrony.conf
|
- name: install chrony.conf
|
||||||
template: src=chrony.conf.j2 dest=/etc/chrony.conf
|
template: src=chrony.conf.j2 dest=/etc/chrony.conf
|
||||||
|
notify:
|
||||||
|
- restart chronyd
|
||||||
tags:
|
tags:
|
||||||
- chrony
|
- chrony
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue