Also create zmq.topic in /pubsub
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
48de31d042
commit
8f5de8c822
1 changed files with 5 additions and 2 deletions
|
@ -255,15 +255,18 @@
|
|||
- rabbitmq_cluster
|
||||
- config
|
||||
|
||||
- name: Create the zmq.topic exchange in /public_pubsub
|
||||
- name: Create the zmq.topic exchange in the {{ item }} vhost
|
||||
run_once: true
|
||||
delegate_to: "rabbitmq01{{ env_suffix }}.phx2.fedoraproject.org"
|
||||
rabbitmq_exchange:
|
||||
name: "zmq.topic"
|
||||
exchange_type: "topic"
|
||||
vhost: "/public_pubsub"
|
||||
vhost: "{{ item }}"
|
||||
login_user: admin
|
||||
login_password: "{{ (env == 'production')|ternary(rabbitmq_admin_password_production, rabbitmq_admin_password_staging) }}"
|
||||
with_items:
|
||||
- /pubsub
|
||||
- /public_pubsub
|
||||
tags:
|
||||
- rabbitmq_cluster
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue