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
|
@ -175,3 +175,6 @@
|
|||
name: rabbitmq-server
|
||||
state: restarted
|
||||
daemon_reload: yes
|
||||
|
||||
- name: restart chronyd
|
||||
service: name=chronyd state=restarted
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
- name: install chrony.conf
|
||||
template: src=chrony.conf.j2 dest=/etc/chrony.conf
|
||||
notify:
|
||||
- restart chronyd
|
||||
tags:
|
||||
- chrony
|
||||
- config
|
||||
|
|
Loading…
Reference in New Issue