chrony: add handler to restart on config changes

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-16 12:01:22 -07:00
parent 855b87b3d7
commit 9f6463ce8f
2 changed files with 5 additions and 0 deletions

View File

@ -175,3 +175,6 @@
name: rabbitmq-server
state: restarted
daemon_reload: yes
- name: restart chronyd
service: name=chronyd state=restarted

View File

@ -7,6 +7,8 @@
- name: install chrony.conf
template: src=chrony.conf.j2 dest=/etc/chrony.conf
notify:
- restart chronyd
tags:
- chrony
- config