fixing rabbitmq queues

This commit is contained in:
nazunalika 2021-01-27 11:59:29 -07:00
parent 0fcdda7c24
commit 4c892b119d

View File

@ -75,10 +75,13 @@
name: "amq.topic" name: "amq.topic"
destination: "{{ queue_name }}" destination: "{{ queue_name }}"
destination_type: queue destination_type: queue
routing_key: "{{ item }}" routing_key: "{{ routing_item }}"
vhost: "{{ vhost|default('/pubsub') }}" vhost: "{{ vhost|default('/pubsub') }}"
state: present state: present
login_user: admin login_user: admin
login_password: "{{ rabbitmq_admin_password }}" login_password: "{{ rabbitmq_admin_password }}"
loop: "{{ routing_keys }}"
loop_control:
loop_var: routing_item
tags: tags:
- rabbitmq - rabbitmq