Revert "rabbitmq_cluster: Switch how permissions are done and give admin all perms"
This reverts commit a28ddcde1920160038684d0a7d18618920faa2a0.
This commit is contained in:
parent
a1c728f8a8
commit
5f28f28e0f
1 changed files with 26 additions and 10 deletions
|
@ -228,11 +228,19 @@
|
||||||
rabbitmq_user:
|
rabbitmq_user:
|
||||||
user: admin
|
user: admin
|
||||||
password: "{{ rabbitmq_admin_password_staging }}"
|
password: "{{ rabbitmq_admin_password_staging }}"
|
||||||
vhost: /
|
permissions:
|
||||||
configure_priv: .*
|
- vhost: /
|
||||||
read_priv: .*
|
configure_priv: .*
|
||||||
write_priv: .*
|
read_priv: .*
|
||||||
state: present
|
write_priv: .*
|
||||||
|
- vhost: /pubsub
|
||||||
|
configure_priv: .*
|
||||||
|
read_priv: .*
|
||||||
|
write_priv: .*
|
||||||
|
- vhost: /public_pubsub
|
||||||
|
configure_priv: .*
|
||||||
|
read_priv: .*
|
||||||
|
write_priv: .*
|
||||||
tags: management
|
tags: management
|
||||||
when: env == "staging" and inventory_hostname.startswith('rabbitmq01')
|
when: env == "staging" and inventory_hostname.startswith('rabbitmq01')
|
||||||
tags:
|
tags:
|
||||||
|
@ -243,11 +251,19 @@
|
||||||
rabbitmq_user:
|
rabbitmq_user:
|
||||||
user: admin
|
user: admin
|
||||||
password: "{{ rabbitmq_admin_password_production }}"
|
password: "{{ rabbitmq_admin_password_production }}"
|
||||||
vhost: /
|
permissions:
|
||||||
configure_priv: .*
|
- vhost: /
|
||||||
read_priv: .*
|
configure_priv: .*
|
||||||
write_priv: .*
|
read_priv: .*
|
||||||
state: present
|
write_priv: .*
|
||||||
|
- vhost: /pubsub
|
||||||
|
configure_priv: .*
|
||||||
|
read_priv: .*
|
||||||
|
write_priv: .*
|
||||||
|
- vhost: /public_pubsub
|
||||||
|
configure_priv: .*
|
||||||
|
read_priv: .*
|
||||||
|
write_priv: .*
|
||||||
tags: management
|
tags: management
|
||||||
when: env == "production" and inventory_hostname.startswith('rabbitmq01')
|
when: env == "production" and inventory_hostname.startswith('rabbitmq01')
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue