Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

Commit

Permalink
Add handler to restart broker and fix restarts
Browse files Browse the repository at this point in the history
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
goetzk committed Nov 2, 2014
1 parent fdd5781 commit 7d4a5a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion handlers/main.yml
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

2 changes: 1 addition & 1 deletion tasks/configure-shinken-contacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
dest=/etc/shinken/contacts.cfg
mode=640
notify:
- restart shinken broker
- restart shinken arbiter

2 changes: 1 addition & 1 deletion tasks/configure-shinken-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
with_items:
- loop over hosts here
notify:
- restart shinken broker
- restart shinken arbiter


0 comments on commit 7d4a5a1

Please sign in to comment.