RabbitMQ: allow the nagios-monitoring user access to other vhosts

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2020-01-06 11:50:58 +01:00 committed by Pierre-Yves Chibon
parent 4066bbf112
commit b91e03d059

View file

@ -142,6 +142,14 @@
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:
@ -166,6 +174,14 @@
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: