openstack-ansible-os_zun/tests
Jesse Pretorius d4edcbde6d 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:
- zun_oslomsg_rpc_setup_host
- zun_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.

Change-Id: I639a3fa3e138b1ae190325b9794969820267ec23
2018-07-27 12:42:19 +01:00
..
group_vars first commit 2018-06-05 15:36:33 -05:00
host_vars Switch compute to use different inventory_hostname 2018-07-26 10:25:36 +01:00
ansible-role-requirements.yml first commit 2018-06-05 15:36:33 -05:00
inventory Merge "Switch compute to use different inventory_hostname" 2018-07-26 18:17:27 +00:00
test-install-zun.yml Move MQ vhost/user creation into role 2018-07-27 12:42:19 +01:00
test-zun-check.yml tests: Ensure clouds.yaml is present, and use it 2018-07-27 07:47:05 +00:00
test.yml first commit 2018-06-05 15:36:33 -05:00