From b91e03d0592b133ece06ff05d079d2159e020a94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 6 Jan 2020 11:50:58 +0100 Subject: [PATCH] RabbitMQ: allow the nagios-monitoring user access to other vhosts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/rabbitmq_cluster/tasks/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/roles/rabbitmq_cluster/tasks/main.yml b/roles/rabbitmq_cluster/tasks/main.yml index a14f3eae58..f4027f18da 100644 --- a/roles/rabbitmq_cluster/tasks/main.yml +++ b/roles/rabbitmq_cluster/tasks/main.yml @@ -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: