Role os_masakari for OpenStack-Ansible
Go to file
Jesse Pretorius 8585cb3d3a Move MQ vhost/user creation into role
There is no record for why we implement the MQ vhost/user creation
outside of the role in the playbook, when we could do it inside the
role.

Implementing it inside the role allows us to reduce the quantity of
group_vars duplicated from the role, and allows us to better document
the required variables in the role. The delegation can still be done
as it is done in the playbook too.

In this patch we implement two new variables:
- masakari_oslomsg_rpc_setup_host
- masakari_oslomsg_notify_setup_host

These are used in the role to allow delegation of the MQ vhost/user
setup for each type to any host, but they default to using the first
member of the applicable oslomsg host group.

We also adjust some of the defaults to automatically inherit existing
vars set in group_vars form the integrated build so that we do not
need to do the wiring in the integrated build's group vars. We still
default them in the role too for independent role usage.

Finally, we remove the test mq setup tasks and clean up any unused
or unnecessary variables configured in tests.

We also rename the ubuntu-16.04.yml file to ubuntu.yml to cover both
xenial and bionic. This has become necessary because the
'Gather variables for each operating system' task in the galera_client
role is picking up this role's vars file instead of its own.

Change-Id: Ibf05d527b6dbed8a10ecf0b64cfb161b66295d35
2018-08-01 18:52:35 +01:00
defaults Move MQ vhost/user creation into role 2018-08-01 18:52:35 +01:00
doc Follow the new PTI for document build 2018-07-13 18:11:57 +01:00
examples Update to use oslo.messaging service for RPC and Notify 2018-07-26 10:42:42 +00:00
handlers Added required defaults, env example, Manage LB hook 2018-07-19 06:42:32 +00:00
meta Execute service setup against a delegated host using Ansible built-in modules 2018-07-12 17:42:15 +01:00
releasenotes First commit 2018-04-16 17:02:09 +05:30
tasks Move MQ vhost/user creation into role 2018-08-01 18:52:35 +01:00
templates Update to use oslo.messaging service for RPC and Notify 2018-07-26 10:42:42 +00:00
tests Move MQ vhost/user creation into role 2018-08-01 18:52:35 +01:00
vars Move MQ vhost/user creation into role 2018-08-01 18:52:35 +01:00
zuul.d Added required defaults, env example, Manage LB hook 2018-07-19 06:42:32 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-05-03 09:38:40 +00:00
.gitreview Add Maskari base jobs 2018-05-08 15:39:48 +05:30
CONTRIBUTING.rst First commit 2018-04-16 17:02:09 +05:30
LICENSE First commit 2018-04-16 17:02:09 +05:30
README.rst Update the project home to https 2018-07-05 21:36:28 -04:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:42:25 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2018-05-03 09:38:40 +00:00
manual-test.rc First commit 2018-04-16 17:02:09 +05:30
run_tests.sh Add Maskari base jobs 2018-05-08 15:39:48 +05:30
setup.cfg Add the missing home-page 2018-06-22 23:39:25 -04:00
setup.py First commit 2018-04-16 17:02:09 +05:30
tox.ini Added required defaults, env example, Manage LB hook 2018-07-19 06:42:32 +00:00

README.rst

Masakari role for OpenStack-Ansible

Ansible role to install OpenStack Masakari.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-os_masakari/latest/

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-os_masakari/

The project home is at:

https://launchpad.net/openstack-ansible