From 10e4307204bd8b72b250fb782d188c3f247c4fe1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 22 Jun 2020 10:20:59 -0700 Subject: [PATCH] rabbitmq / osci: try and set loop variable here to avoid clash with rabbit/queue role The default loop var is 'item' but it's already being used in rabbit/queue so if we use it here also it causes clashing and a invalid binding. So, change this one to something else and see if it fixes the issue. Signed-off-by: Kevin Fenzi --- roles/rabbitmq_cluster/tasks/apps.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/rabbitmq_cluster/tasks/apps.yml b/roles/rabbitmq_cluster/tasks/apps.yml index 6eb498a2b0..ecd5f35bc9 100644 --- a/roles/rabbitmq_cluster/tasks/apps.yml +++ b/roles/rabbitmq_cluster/tasks/apps.yml @@ -32,8 +32,9 @@ include_role: name: rabbit/queue vars: + loop_var: osci_pipeline_queue username: osci-pipelines{{ env_suffix }} - queue_name: "{{ item }}{{ env_suffix }}" + queue_name: "{{ osci)pipeline_queue }}{{ env_suffix }}" # TTL: 10 days (in miliseconds) message_ttl: 864000000 routing_keys: