bodhi: also only apply rabbitmq roles in staging for now.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
352945f868
commit
fb9cb18511
1 changed files with 2 additions and 0 deletions
|
@ -74,10 +74,12 @@
|
||||||
certs_group: apache
|
certs_group: apache
|
||||||
- role: rabbit/user
|
- role: rabbit/user
|
||||||
username: "bodhi{{ env_suffix }}"
|
username: "bodhi{{ env_suffix }}"
|
||||||
|
when: env == "staging"
|
||||||
- role: rabbit/queue
|
- role: rabbit/queue
|
||||||
username: "bodhi{{ env_suffix }}"
|
username: "bodhi{{ env_suffix }}"
|
||||||
queue_name: "bodhi{{ env_suffix }}"
|
queue_name: "bodhi{{ env_suffix }}"
|
||||||
routing_keys: "{{ bodhi_message_routing_keys }}"
|
routing_keys: "{{ bodhi_message_routing_keys }}"
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue