Role rabbitmq_server for OpenStack-Ansible
Go to file
Jesse Pretorius 8adfab58c0 Add ability to change apt/yum package state
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
2016-08-02 15:31:16 +01:00
defaults Add ability to change apt/yum package state 2016-08-02 15:31:16 +01:00
doc Ensure that doc linting is included in the linters test 2016-07-26 00:47:19 +01:00
files first commit 2015-12-09 09:25:11 -06:00
meta Remove pip_install meta-dependency 2016-07-19 18:17:45 +01:00
releasenotes Add ability to change apt/yum package state 2016-08-02 15:31:16 +01:00
tasks Add ability to change apt/yum package state 2016-08-02 15:31:16 +01:00
templates Remove clustering config from rabbitmq.config 2016-03-29 12:19:27 +01:00
tests Merge "Make rabbitmq inventory group configurable" 2016-07-15 15:59:55 +00:00
vars Remove unnecessary package installation 2016-07-19 08:31:44 +00:00
.gitignore Remove duplicates from .gitignore 2016-07-15 11:38:48 +00:00
.gitreview updated repo pathing for new org 2015-12-10 20:16:01 -06:00
CONTRIBUTING.rst [DOCS] Cleanup the role docs for consistency and clarity 2016-03-09 21:28:38 -05:00
LICENSE first commit 2015-12-09 09:25:11 -06:00
other-requirements.txt Multi-distro framework for rabbitmq_server role 2016-05-13 15:04:24 -07:00
README.rst Ensure that doc linting is included in the linters test 2016-07-26 00:47:19 +01:00
run_tests.sh Fix get_url SNI issues in CentOS 7 2016-07-28 11:44:46 -05:00
setup.cfg first commit 2015-12-09 09:25:11 -06:00
setup.py Updated from global requirements 2016-07-15 03:58:19 +00:00
test-requirements.txt Updated from global requirements 2016-07-30 01:22:45 +00:00
tox.ini Fix get_url SNI issues in CentOS 7 2016-07-28 11:44:46 -05:00

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