mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 22:11:01 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user