Role rabbitmq_server for OpenStack-Ansible
8adfab58c0
The current method of installing the distribution packages required is set in the tasks and cannot be changed by a deployer. Currently the apt task always installs the latest package. This results in unexpected binary changes when a deployer may simply be trying to execute a configuration change. This patch adds the ability for a deployer to change the desired state so that the results are predictable. Change-Id: I3227dc6f15e0307926e65427bc635c34e2baa87f |
||
---|---|---|
defaults | ||
doc | ||
files | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
vars | ||
.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