Role rabbitmq_server for OpenStack-Ansible
cadd8ff635
Remove cluster formation configuration from rabbitmq.config. Cluster formation is managed by the task files in the role, see tasks/rabbitmq_cluster.yml for details. The entries in the config template are unnecessary and I believe they may be causing clustering failures when the clustering tasks run. Remove testing for cluster configuration in rabbitmq.config. Change-Id: Ia65da05a5c967965143e8167657688d6906ad1f0 |
||
---|---|---|
defaults | ||
doc | ||
files | ||
meta | ||
tasks | ||
templates | ||
tests | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
other-requirements.txt | ||
README.rst | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
OpenStack-Ansible RabbitMQ Server
This Ansible role deploys RabbitMQ. When multiple hosts are present in the rabbitmq_all inventory group a cluster will be created.
Default Variables
../../defaults/main.yml
Required Variables
# RabbitMQ cluster shared secret
rabbitmq_cookie_token: secrete
Example Playbook
- name: Install rabbitmq server
hosts: rabbitmq_all
user: root
roles:
- { role: "rabbitmq_server", tags: [ "rabbitmq-server" ] }
vars:
rabbitmq_cookie_token: secrete