bodhi: also only apply rabbitmq roles in staging for now.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-05-14 19:12:48 +00:00
parent 352945f868
commit fb9cb18511

View file

@ -74,10 +74,12 @@
certs_group: apache
- role: rabbit/user
username: "bodhi{{ env_suffix }}"
when: env == "staging"
- role: rabbit/queue
username: "bodhi{{ env_suffix }}"
queue_name: "bodhi{{ env_suffix }}"
routing_keys: "{{ bodhi_message_routing_keys }}"
when: env == "staging"
tasks: