openstack-ansible-os_masakari/tests
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
..
group_vars First commit 2018-04-16 17:02:09 +05:30
host_vars Added required defaults, env example, Manage LB hook 2018-07-19 06:42:32 +00:00
ansible-role-requirements.yml First commit 2018-04-16 17:02:09 +05:30
inventory Update to use oslo.messaging service for RPC and Notify 2018-07-26 10:42:42 +00:00
os_masakari-overrides.yml Move MQ vhost/user creation into role 2018-08-01 18:52:35 +01:00
test-install-masakari.yml Move MQ vhost/user creation into role 2018-08-01 18:52:35 +01:00
test-masakari-functional.yml Added required defaults, env example, Manage LB hook 2018-07-19 06:42:32 +00:00
test.yml Add Maskari base jobs 2018-05-08 15:39:48 +05:30