Role os_barbican for OpenStack-Ansible
Go to file
Jesse Pretorius daecd5fd9d Allow tags to be used for MQ tasks
The use of 'include_tasks' and a loop of variables creates
a situation where a user is unable to use tags to scope the
inclusion of only the MQ tasks when running the playbooks.

The use-case this is important for is when the rabbitmq
containers are destroyed and rebuilt in order to resolve
an issue with them, and the user wishes to quickly recreate
all the vhosts/users.

Ansible's 'include_tasks' is a dynamic inclusion, and dynamic
inclusions are not included when using tags. The nice thing
about dynamic inclusions is that they completely skip all
tasks when the condition does not apply, cutting down deploy
time. However, given the use-case, we should rather take on
the extra deployment time.

This patch changes the dynamic inclusion to a static one,
adds a 'common-mq' tag to cover all MQ implementations,
and re-implements the 'common-rabbitmq' tag for the tasks
that relate to RabbitMQ specifically.

It also implements conditionals for each task set so that
the rpc/notify tasks can be skipped if a vhost/user is not
required for that purpose (eg: swift does not use RPC, and
most roles will not use notifications by default).

Depends-On: https://review.openstack.org/588191
Change-Id: I67ad9bdf03729f21778cc0d187495474a31784be
2018-08-07 12:48:57 +01:00
defaults Convert role to use a common systemd service role 2018-07-31 14:43:44 -05:00
doc Update to use oslo.messaging service for RPC and Notify 2018-07-26 09:37:01 +00:00
examples Update to use oslo.messaging service for RPC and Notify 2018-07-26 09:37:01 +00:00
handlers Convert role to use a common systemd service role 2018-07-31 14:43:44 -05:00
meta Add bionic to galaxy_info metadata 2018-08-02 14:56:02 +01:00
releasenotes Convert role to use a common systemd service role 2018-07-31 14:43:44 -05:00
tasks Allow tags to be used for MQ tasks 2018-08-07 12:48:57 +01:00
templates Convert role to use a common systemd service role 2018-07-31 14:43:44 -05:00
tests Move MQ vhost/user creation into role 2018-07-27 12:50:48 +01:00
vars Convert role to use a common systemd service role 2018-07-31 14:43:44 -05:00
zuul.d Switch to using project-templates 2018-06-16 21:16:08 -04:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:50:15 +00:00
.gitreview Implement base configuration for OpenStack-CI 2016-03-22 12:12:44 -07:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 17:03:05 -04:00
README.rst Add the project source code repository in README 2018-07-28 11:35:12 +00:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:40:11 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:49 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 17:55:47 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:13:21 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:36:22 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:30 +00:00
tox.ini fix tox python3 overrides 2018-07-05 14:16:30 +07:00

README.rst

Team and repository tags

image

Barbican role for OpenStack-Ansible

This Ansible role installs and configures OpenStack Barbican.

Documentation for the project can be found at:

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

Release notes for the project can be found at:

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

The project source code repository is located at:

https://git.openstack.org/cgit/openstack/openstack-ansible-os_barbican/

The project home is at:

https://launchpad.net/openstack-ansible