Role os_zun for OpenStack-Ansible
Go to file
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
defaults Move MQ vhost/user creation into role 2018-07-27 12:42:19 +01:00
doc first commit 2018-06-05 15:36:33 -05:00
examples first commit 2018-06-05 15:36:33 -05:00
handlers Fix usage of "|" for tests 2018-07-12 16:54:54 +02:00
meta first commit 2018-06-05 15:36:33 -05:00
releasenotes first commit 2018-06-05 15:36:33 -05:00
tasks Move MQ vhost/user creation into role 2018-07-27 12:42:19 +01:00
templates Update to use oslo.messaging service for RPC and Notify 2018-07-26 09:31:02 +00:00
tests Move MQ vhost/user creation into role 2018-07-27 12:42:19 +01:00
vars first commit 2018-06-05 15:36:33 -05:00
zuul.d tests: Ensure clouds.yaml is present, and use it 2018-07-27 07:47:05 +00:00
.gitignore first commit 2018-06-05 15:36:33 -05:00
.gitreview first commit 2018-06-05 15:36:33 -05:00
CONTRIBUTING.rst first commit 2018-06-05 15:36:33 -05:00
LICENSE first commit 2018-06-05 15:36:33 -05:00
README.rst Add the project source code repository in README 2018-07-21 00:35:01 -04:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-09 00:02:28 +00:00
bindep.txt first commit 2018-06-05 15:36:33 -05:00
manual-test.rc first commit 2018-06-05 15:36:33 -05:00
run_tests.sh first commit 2018-06-05 15:36:33 -05:00
setup.cfg first commit 2018-06-05 15:36:33 -05:00
setup.py first commit 2018-06-05 15:36:33 -05:00
tox.ini Use tests repo for common role test requirements 2018-07-02 15:51:51 +00:00

README.rst

Team and repository tags

image

OpenStack-Ansible zun

Ansible role that installs and configures OpenStack zun and all of its corresponding services.

This role will install the following:
  • zun-api
  • zun-compute

Documentation for the project can be found at: https://docs.openstack.org/openstack-ansible-os_zun/latest/

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/openstack-ansible-os_zun/

The project source code repository is located at: https://git.openstack.org/cgit/openstack/openstack-ansible-os_zun/

The project home is at: https://launchpad.net/openstack-ansible