Skip to content

Commit

Permalink
add notify to restart nagios
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodav committed Jan 9, 2019
1 parent 9bc413f commit 8dba08f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---

- name: restart nagios
service: name=nagios state=restarted

- name: systemctl daemon-reload
systemd:
daemon_reload: yes
when: systemd_enabled
notify: Restart Nagios

0 comments on commit 8dba08f

Please sign in to comment.