kolla-ansible/ansible/roles/service-rabbitmq/defaults/main.yml
Jeffrey Zhang 869e3f21c2 Configure RabbitMQ user tags in nova-cell role
The RabbitMQ 'openstack' user has the 'administrator' tag assigned via
the RabbitMQ definitions.json file.

Since the Train release, the nova-cell role also configures the RabbitMQ
user, but omits the tag. This causes the tag to be removed from the
user, which prevents it from accessing the management UI and API.

This change adds support for configuring user tags to the
service-rabbitmq role, and sets the administrator tag by default.

Change-Id: I7a5d6fe324dd133e0929804d431583e5b5c1853d
Closes-Bug: #1875786
2020-05-15 16:02:46 +01:00

27 lines
635 B
YAML

---
# Role to ensure RabbitMQ configuration exists for a service.
# Host to delegate task execution to.
service_rabbitmq_delegate_host: "{{ inventory_hostname }}"
# Whether to run the task on only one host.
service_rabbitmq_run_once: true
# Condition on which to run the task.
service_rabbitmq_when: true
# Number of retries for each task.
service_rabbitmq_retries: 5
# Delay between task retries.
service_rabbitmq_delay: 10
# List of RabbitMQ users to create. Each item should contain the following
# fields:
# 'user'
# 'password'
# 'vhost'
# 'tags'
# Virtual hosts in this list will also be created.
service_rabbitmq_users: []