From fb9cb18511c97b1da1b84051ea2f6b0e1bc52dc7 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 14 May 2019 19:12:48 +0000 Subject: [PATCH] bodhi: also only apply rabbitmq roles in staging for now. Signed-off-by: Kevin Fenzi --- playbooks/groups/bodhi-backend.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/groups/bodhi-backend.yml b/playbooks/groups/bodhi-backend.yml index cdbe9fdd36..adeb9d4e0f 100644 --- a/playbooks/groups/bodhi-backend.yml +++ b/playbooks/groups/bodhi-backend.yml @@ -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: