This repository has been archived by the owner on Oct 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add handler to restart broker and fix restarts
I changed the broker restart to restart the arbiter instead. What I forgot to do was change the items making the call in the first place. Since web ui is part of broker I've added back the broker restart so we have two handlers now.
- Loading branch information
Showing
3 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# Broker didn't do what i wanted, lets try restarting arbiter | ||
--- | ||
- name: restart shinken arbiter | ||
service: name=shinken-arbiter state=restarted | ||
|
||
- name: restart shinken broker | ||
service: name=shinken-broker state=restarted | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,5 @@ | |
dest=/etc/shinken/contacts.cfg | ||
mode=640 | ||
notify: | ||
- restart shinken broker | ||
- restart shinken arbiter | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,6 @@ | |
with_items: | ||
- loop over hosts here | ||
notify: | ||
- restart shinken broker | ||
- restart shinken arbiter | ||
|
||
|