Role os_keystone for OpenStack-Ansible
Go to file
Jesse Pretorius 09ec0890a4 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: I559062788264ed54b0a21b678f420f8d33d2c663
2018-08-07 14:24:27 +01:00
defaults Default MQ RPC/Notify credentials/vhosts to match 2018-07-30 12:49:17 +01:00
doc Updated from global requirements 2018-03-15 07:35:08 +00:00
examples Move database creation into role 2018-06-04 07:34:09 +01:00
handlers Remove the unnecessary space 2018-07-20 06:57:55 -04:00
library Resolved Keystone Federation bugs 2017-02-07 21:01:09 -06:00
meta Add bionic to galaxy_info metadata 2018-08-02 15:02:36 +01:00
releasenotes Add systemd journal logging to the service config 2018-07-26 16:01:29 +00:00
tasks Allow tags to be used for MQ tasks 2018-08-07 14:24:27 +01:00
templates Add systemd journal logging to the service config 2018-07-26 16:01:29 +00:00
tests Remove python-keystoneclient package install 2018-08-01 13:45:19 +01:00
vars Remove python-keystoneclient package install 2018-08-01 13:45:19 +01:00
zuul.d Switch to using project-templates 2018-06-16 21:44:14 -04:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:53:05 +00:00
.gitreview Implement base configuration for independent repository 2016-03-02 10:09:25 -05:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:06:13 +00:00
CONTRIBUTING.rst Updated role to be an independent role 2016-02-26 14:13:43 -06:00
LICENSE Updated role to be an independent role 2016-02-26 14:13:43 -06:00
manual-test.rc Use centralised test scripts 2016-09-28 08:56:33 +01:00
README.rst Add release notes link to README 2018-06-14 23:34:16 -07:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:14:52 +00:00
setup.cfg Update URL home-page in documents according to document migration 2017-07-14 03:21:58 +00:00
setup.py Updated from global requirements 2017-03-02 11:51:52 +00:00
tox.ini Use tests repo for common role test requirements 2018-06-29 17:39:27 +00:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:42:07 +00:00

Team and repository tags

image

OpenStack-Ansible keystone

Ansible role that installs and configures OpenStack Keystone. Keystone is installed behind the Apache webserver listening on port 5000 by default.

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

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

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