Jesse Pretorius ccc2f8cc49 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: I994ccc0d20e4ec72955e625119a35856a7171ba3
2018-08-03 09:59:38 +00:00
2018-08-03 09:59:38 +00:00
2018-07-30 08:39:35 +00:00
2018-06-30 13:30:47 -04:00
2018-07-30 13:05:16 +01:00
2016-09-28 13:27:00 +01:00
2018-06-12 00:03:43 -07:00
2017-03-02 11:52:07 +00:00

Team and repository tags

image

Swift role for OpenStack-Ansible

Ansible role to install OpenStack swift and swift registry.

Documentation for the project can be found at:

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

Release notes for the project can be found at:

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

The project home is at:

https://launchpad.net/openstack-ansible

Description
Role os_swift for OpenStack-Ansible
Readme 7.1 MiB
Languages
Jinja 80.4%
Python 14.1%
Shell 5.5%