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:
|
||||
user: admin
|
||||
password: "{{ rabbitmq_admin_password_staging }}"
|
||||
vhost: /
|
||||
configure_priv: .*
|
||||
read_priv: .*
|
||||
write_priv: .*
|
||||
state: present
|
||||
permissions:
|
||||
- vhost: /
|
||||
configure_priv: .*
|
||||
read_priv: .*
|
||||
write_priv: .*
|
||||
- vhost: /pubsub
|
||||
configure_priv: .*
|
||||
read_priv: .*
|
||||
write_priv: .*
|
||||
- vhost: /public_pubsub
|
||||
configure_priv: .*
|
||||
read_priv: .*
|
||||
write_priv: .*
|
||||
tags: management
|
||||
when: env == "staging" and inventory_hostname.startswith('rabbitmq01')
|
||||
tags:
|
||||
|
@ -243,11 +251,19 @@
|
|||
rabbitmq_user:
|
||||
user: admin
|
||||
password: "{{ rabbitmq_admin_password_production }}"
|
||||
vhost: /
|
||||
configure_priv: .*
|
||||
read_priv: .*
|
||||
write_priv: .*
|
||||
state: present
|
||||
permissions:
|
||||
- vhost: /
|
||||
configure_priv: .*
|
||||
read_priv: .*
|
||||
write_priv: .*
|
||||
- vhost: /pubsub
|
||||
configure_priv: .*
|
||||
read_priv: .*
|
||||
write_priv: .*
|
||||
- vhost: /public_pubsub
|
||||
configure_priv: .*
|
||||
read_priv: .*
|
||||
write_priv: .*
|
||||
tags: management
|
||||
when: env == "production" and inventory_hostname.startswith('rabbitmq01')
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue