Role os_designate for OpenStack-Ansible
Go to file
Jesse Pretorius 3d825682e7 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: I0fd1c512dc460d4a6d4e16dbe20dbf2bc95a709b
2018-08-07 13:36:51 +01:00
defaults Convert role to use a common systemd service role 2018-08-01 11:52:57 +01:00
doc Update to use oslo.messaging services for RPC and Notify 2018-06-06 13:56:52 -04:00
examples Remove unnecessary MQ vhost/user creation tasks/vars 2018-07-31 23:01:59 +01:00
files/rootwrap.d Update paste, policy and rootwrap configurations 2016-11-18 2016-11-18 11:33:11 +00:00
handlers Convert role to use a common systemd service role 2018-08-01 11:52:57 +01:00
meta Add bionic to galaxy_info metadata 2018-08-02 15:00:15 +01:00
releasenotes Convert role to use a common systemd service role 2018-08-01 11:52:57 +01:00
tasks Allow tags to be used for MQ tasks 2018-08-07 13:36:51 +01:00
templates Convert role to use a common systemd service role 2018-08-01 11:52:57 +01:00
tests Remove unnecessary MQ vhost/user creation tasks/vars 2018-07-31 23:01:59 +01:00
vars Convert role to use a common systemd service role 2018-08-01 11:52:57 +01:00
zuul.d Mark bionic gate jobs as non-voting 2018-08-06 19:51:11 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:51:26 +00:00
.gitreview Implement base configuration for independent role repository 2016-03-14 12:34:46 +00:00
CONTRIBUTING.rst Implement base configuration for independent role repository 2016-03-14 12:34:46 +00:00
LICENSE Implement base configuration for independent role repository 2016-03-14 12:34:46 +00:00
README.rst Add the project source code repository in README 2018-07-21 00:40:25 -04:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:41:05 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:59 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 18:41:22 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:13:57 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-19 09:17:36 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:39 +00:00
tox.ini Use tests repo for common role test requirements 2018-07-02 10:36:39 -04:00

README.rst

Team and repository tags

image

Designate role for OpenStack-Ansible

Ansible role to install OpenStack designate.

Documentation for the project can be found at:

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

Release notes for the project can be found at:

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

The project source code repository is located at:

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

The project home is at:

https://launchpad.net/openstack-ansible