RabbitMQ: create the /centos-odcs vhost before giving the nagios user access to it

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard
2025-06-26 09:20:35 +02:00
parent 9788a3f6bd
commit 447ea9c8ad

View File

@@ -291,8 +291,15 @@
- rabbitmq_cluster
- config
# VirtualHost /centos-odcs
- import_tasks: vhost-centos-odcs.yml
tags:
- rabbitmq_cluster
- config
# Users with the "monitoring" tag have read-only access vhosts, connections,
# channels, node-level resource usage, and cluster stats.
# (this needs to be done after all vhost that the user has access to have been created)
- name: Create the Nagios monitoring user in staging
rabbitmq_user:
user: nagios-monitoring
@@ -538,9 +545,3 @@
tags:
- rabbitmq_cluster
- config
# VirtualHost /centos-odcs
- import_tasks: vhost-centos-odcs.yml
tags:
- rabbitmq_cluster
- config