Mark Goddard 039cc2be50 Add service-rabbitmq role
This role can be used by other roles to register RabbitMQ resources.
Currently support is provided for creating virtual hosts and users.

Change-Id: Ie1774a10b4d629508584af679b8aa9e372847804
Partially Implements: blueprint support-nova-cells
Depends-On: https://review.opendev.org/684742
2019-10-01 14:44:43 +01:00

26 lines
626 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'
# Virtual hosts in this list will also be created.
service_rabbitmq_users: []