Role os_cinder for OpenStack-Ansible
Go to file
Jesse Pretorius 76ff52f4a5 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:
- cinder_oslomsg_rpc_setup_host
- cinder_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.

Change-Id: I54bf526e917febbc873f6a4b48ad00c17a372523
2018-07-19 18:15:05 +00:00
defaults Move MQ vhost/user creation into role 2018-07-19 18:15:05 +00:00
doc Updated from global requirements 2018-03-15 07:32:45 +00:00
examples Move database creation into role 2018-06-01 14:37:45 +01:00
handlers Use listen instead of chained notifiers 2018-03-17 14:06:54 -07:00
meta Execute service setup against a delegated host using Ansible built-in modules 2018-07-13 13:42:58 +01:00
releasenotes Execute service setup against a delegated host using Ansible built-in modules 2018-07-13 13:42:58 +01:00
tasks Move MQ vhost/user creation into role 2018-07-19 18:15:05 +00:00
templates Update to use oslo.messaging service for RPC and Notify 2018-06-04 13:39:05 -04:00
tests Switch storage to use different inventory_hostname 2018-07-19 19:13:17 +01:00
vars Drop python-cinderclient usage 2018-06-25 10:24:07 -04:00
zuul.d Enable CentOS 7 distro jobs 2018-07-12 12:44:46 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:50:44 +00:00
.gitreview Implement base configuration for independent repository 2016-03-01 09:38:00 -08:00
CONTRIBUTING.rst Update document links 2017-09-13 00:58:08 -07:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Add release notes link to README 2018-06-18 19:14:42 +08:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:40:38 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:54 +00:00
manual-test.rc Ansible 2.1.1 update 2016-09-27 15:00:22 +00:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:13:36 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:36:35 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:34 +00:00
tox.ini Use tests repo for common role test requirements 2018-07-02 10:31:39 -04:00

README.rst

Team and repository tags

image

OpenStack-Ansible cinder

This Ansible role installs and configures OpenStack cinder.

Documentation for the project can be found at:

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

Release notes for the project can be found at:

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

The project home is at:

https://launchpad.net/openstack-ansible