openstack-ansible-os_barbican/tests
Jesse Pretorius 8557ee5bc5 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:
- barbican_oslomsg_rpc_setup_host
- barbican_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: I8e873ad9dc8184ec387fe5e1bd95af1b90bb7233
2018-07-27 12:50:48 +01:00
..
group_vars Standardize test vars 2017-04-20 00:12:53 +00:00
host_vars Execute service setup against a delegated host using Ansible built-in modules 2018-07-06 13:49:14 +00:00
ansible-role-requirements.yml Merge "ansible-role-requirements: Use systemd_service role from openstack namespace" 2018-03-25 17:23:16 +00:00
inventory Update to use oslo.messaging service for RPC and Notify 2018-07-26 09:37:01 +00:00
os_barbican-overrides.yml Move MQ vhost/user creation into role 2018-07-27 12:50:48 +01:00
test-install-barbican.yml Move MQ vhost/user creation into role 2018-07-27 12:50:48 +01:00
test.yml Use tempest plugin for functional testing 2017-11-21 11:23:08 -06:00