RabbitMQ: leave it to apps to grant access to the nagios-monitoring user
Because those vhosts may not be created yet when the main RabbitMQ playbook is run. Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
f21127ef84
commit
48de31d042
3 changed files with 32 additions and 17 deletions
|
@ -225,14 +225,6 @@
|
|||
configure_priv: "^$"
|
||||
read_priv: "^$"
|
||||
write_priv: "^$"
|
||||
- vhost: /bodhi
|
||||
configure_priv: "^$"
|
||||
read_priv: "^$"
|
||||
write_priv: "^$"
|
||||
- vhost: /odcs
|
||||
configure_priv: "^$"
|
||||
read_priv: "^$"
|
||||
write_priv: "^$"
|
||||
tags: monitoring
|
||||
when: env == "staging" and inventory_hostname.startswith('rabbitmq01')
|
||||
tags:
|
||||
|
@ -257,14 +249,6 @@
|
|||
configure_priv: "^$"
|
||||
read_priv: "^$"
|
||||
write_priv: "^$"
|
||||
- vhost: /bodhi
|
||||
configure_priv: "^$"
|
||||
read_priv: "^$"
|
||||
write_priv: "^$"
|
||||
- vhost: /odcs
|
||||
configure_priv: "^$"
|
||||
read_priv: "^$"
|
||||
write_priv: "^$"
|
||||
tags: monitoring
|
||||
when: env == "production" and inventory_hostname.startswith('rabbitmq01')
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue