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 <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-06-22 10:20:59 -07:00
parent 390afbb432
commit 10e4307204

View file

@ -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: