Role rabbitmq_server for OpenStack-Ansible
Go to file
Jesse Pretorius eb495e4d80 Update tox configuration
In order to prepare for implementing requirements management by the
OpenStack requirements management process, and to improve the
reliability and effectiveness of test execution, this patch implements
some changes to the tox configuration:

- The minimum tox version is increased in order to be able to use
  constraints for the python packages.
- The OpenStack upper-constraints are used when preparing the test
  venv for the linters checks.
- Any proxy environment variables set on the test host are passed
  into the venv to enable testing from behind a proxy.
- The environment variables used by Ansible tests are moved into
  a new venv called 'ansible' and this environment is inherited
  by all Ansible-related tests.
- The docs test will clean-up an existing build directory before
  executing the docs build.
- The releasenotes build cannot use upper-constraints at this point,
  so it doesn't.
- The Ansible role download will no longer ignore errors so that any
  problems discovered will result in a failed test.
- The human readable logging callback plugin is implemented for
  functional testing.
- The ansible test requirements are moved into tox.ini to ensure
  compliance for requirements.txt/test-requirements.txt for the
  global-requirements management contract.
- The ~/.ansible directory as a whole is not deleted. Instead only
  the plugins and roles folders are deleted to ensure that zuul's
  Ansible artifacts are left in-place.
- The ansible-lint version is updated to support execution against a
  folder, and the test now executes against the entire role to ensure
  that it captures all applicable files for lint testing.

This is a combined port of the following:
- https://review.openstack.org/323507
- https://review.openstack.org/338193
- https://review.openstack.org/332443
- https://review.openstack.org/338193
- https://review.openstack.org/339493

Change-Id: Ie08d1c8c82220e496bfa6d8b6743b5b3318c72ed
2016-07-08 13:37:23 +01:00
defaults Multi-distro framework for rabbitmq_server role 2016-05-13 15:04:24 -07:00
doc [DOCS] Cleanup the role docs for consistency and clarity 2016-03-09 21:28:38 -05:00
files first commit 2015-12-09 09:25:11 -06:00
meta Multi-distro framework for rabbitmq_server role 2016-05-13 15:04:24 -07:00
releasenotes Multi-distro framework for rabbitmq_server role 2016-05-13 15:04:24 -07:00
tasks Reload systemd after installing rabbitmq 2016-06-17 21:04:59 -07:00
templates Remove clustering config from rabbitmq.config 2016-03-29 12:19:27 +01:00
tests Clean up container cache prep in tasks 2016-06-17 19:51:04 +01:00
vars Upgrade RabbitMQ Server to 3.6.2 2016-05-23 10:49:50 -07:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:22:28 +01: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
README.rst [DOCS] Cleanup the role docs for consistency and clarity 2016-03-09 21:28:38 -05:00
other-requirements.txt Multi-distro framework for rabbitmq_server role 2016-05-13 15:04:24 -07:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:57:59 +01:00
setup.cfg first commit 2015-12-09 09:25:11 -06:00
setup.py first commit 2015-12-09 09:25:11 -06:00
test-requirements.txt Update tox configuration 2016-07-08 13:37:23 +01:00
tox.ini Update tox configuration 2016-07-08 13:37:23 +01:00

README.rst

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