Define the restart handler in a role to see if it will work.
This commit is contained in:
parent
9e14e24f1d
commit
3587902cfb
3 changed files with 2 additions and 4 deletions
|
@ -82,6 +82,3 @@
|
|||
|
||||
- name: run fasclient
|
||||
action: command /usr/bin/fasClient -i
|
||||
|
||||
- name: restart fedmsg-hub
|
||||
action: service name=fedmsg-hub state=restarted
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
config = {
|
||||
|
||||
# We need to tell the fedmsg-hub that it should load our consumer on start.
|
||||
"fedmsg.consumers.badges.enabled": True,
|
||||
|
||||
|
|
2
roles/fedmsg-hub/handlers/main.yml
Normal file
2
roles/fedmsg-hub/handlers/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: restart fedmsg-hub
|
||||
action: service name=fedmsg-hub state=restarted
|
Loading…
Add table
Add a link
Reference in a new issue