rabbitmq_cluster: Create the public vhost before the admin user
The admin user needs access to the public vhost, but it needs to exist first.
This commit is contained in:
parent
fea0ef6c08
commit
9e7074570c
1 changed files with 11 additions and 11 deletions
|
@ -128,6 +128,17 @@
|
||||||
- rabbitmq_cluster
|
- rabbitmq_cluster
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
# This is the publicly accessible virtual host
|
||||||
|
- name: Configure the publicly accessible vhost
|
||||||
|
run_once: true
|
||||||
|
delegate_to: "rabbitmq01{{ env_suffix }}.phx2.fedoraproject.org"
|
||||||
|
rabbitmq_vhost:
|
||||||
|
name: /public_pubsub
|
||||||
|
state: present
|
||||||
|
tags:
|
||||||
|
- rabbitmq_cluster
|
||||||
|
- config
|
||||||
|
|
||||||
- name: Configure the HA policy for queues on the pubsub virtual
|
- name: Configure the HA policy for queues on the pubsub virtual
|
||||||
rabbitmq_policy:
|
rabbitmq_policy:
|
||||||
name: HA
|
name: HA
|
||||||
|
@ -191,17 +202,6 @@
|
||||||
- rabbitmq_cluster
|
- rabbitmq_cluster
|
||||||
- config
|
- config
|
||||||
|
|
||||||
# This is the publicly accessible virtual host
|
|
||||||
- name: Configure the publicly accessible vhost
|
|
||||||
run_once: true
|
|
||||||
delegate_to: "rabbitmq01{{ env_suffix }}.phx2.fedoraproject.org"
|
|
||||||
rabbitmq_vhost:
|
|
||||||
name: /public_pubsub
|
|
||||||
state: present
|
|
||||||
tags:
|
|
||||||
- rabbitmq_cluster
|
|
||||||
- config
|
|
||||||
|
|
||||||
- name: Create the zmq.topic exchange in /public_pubsub
|
- name: Create the zmq.topic exchange in /public_pubsub
|
||||||
run_once: true
|
run_once: true
|
||||||
delegate_to: "rabbitmq01{{ env_suffix }}.phx2.fedoraproject.org"
|
delegate_to: "rabbitmq01{{ env_suffix }}.phx2.fedoraproject.org"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue