Notify xymon-client handler when modification to default cli config.

This commit is contained in:
Jeremy Gardais 2017-08-11 14:42:49 +02:00
parent ddee21fa78
commit 1f1b8377c9
2 changed files with 6 additions and 0 deletions

5
handlers/main.yml Normal file
View File

@ -0,0 +1,5 @@
---
# handlers file for ipr.ansible.xymon
- name: restart xymon-client service
service: name={{ xymon_cli_service_name }} state=restarted
when: xymon_cli_service_manage

View File

@ -26,6 +26,7 @@
mode: 0644
backup: true
when: xymon_cli_manage
notify: restart xymon-client service
## service
- name: SERVICE manage '{{ xymon_cli_service_name }}'