Role os_glance for OpenStack-Ansible
Go to file
Jesse Pretorius (odyssey4me) 9a8481bc26 Revert "Only sync glance database on major versions"
The current major upgrade detection compares
the same variable against itself. It also takes
place after the new venv tag has been placed
and the local facts are refreshed so there's
no good way to figure out the origin version.

Additionally, the version_compare filter only
works with semver version strings which is
unnecessarily strict.

Additionally, there does not appear to be any
evidence in the glance documentation that
the db sync action requires services to be
shut down or any other orchestration, so the
previously implemented action of doing a db
sync on every playbook execution should be
just fine. If there is nothing for it to do (which
will be the case for a minor upgrade) then it
will do nothing. If there is something for it to
do (which will be the case for a major upgrade)
then it will do what needs to be done.

As such, there appears to be no point in
implementing this extra set of tasks and
conditionals.

This reverts commit 647c4e33f1.

Change-Id: I3b5afae3b7abf58de0b71ec2e67df2c38b6da5e3
2017-07-12 11:43:39 +01:00
defaults Ensure that services restart in a particular order 2017-06-30 13:27:56 +01:00
doc Fix openstackdocstheme settings 2017-07-03 16:15:19 +08:00
examples [DOCS] Add project links; fix indents; wording 2016-08-16 09:16:30 -05:00
handlers Use listen instead of chained notifiers 2017-06-30 13:39:03 +01:00
meta Add support for the openSUSE Leap distributions 2017-07-06 13:19:19 +01:00
releasenotes Fix openstackdocstheme settings 2017-07-03 16:15:19 +08:00
tasks Revert "Only sync glance database on major versions" 2017-07-12 11:43:39 +01:00
templates Ensure that services restart in a particular order 2017-06-30 13:27:56 +01:00
tests Updated from OpenStack Ansible Tests 2017-06-22 15:19:28 +00:00
vars Add support for the openSUSE Leap distributions 2017-07-06 13:19:19 +01:00
.gitignore Updated from OpenStack Ansible Tests 2017-06-22 15:19:28 +00:00
.gitreview Implement base configuration for independent repository 2016-03-02 07:28:55 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-07-06 21:08:19 +00:00
CONTRIBUTING.rst [DOCS] Cleanup the role docs for consistency and clarity 2016-03-07 17:03:49 -05:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 18:46:26 +01:00
README.rst Show team and repo badges on README 2016-11-25 16:09:19 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2017-06-22 15:19:28 +00:00
setup.cfg Update homepage with developer documentation page 2016-09-20 14:28:44 +05:30
setup.py Updated from global requirements 2017-03-02 11:51:41 +00:00
test-requirements.txt Fix openstackdocstheme settings 2017-07-03 16:15:19 +08:00
tox.ini Ensure that role tests pin pip/setuptools/wheel 2017-06-04 11:20:34 +01:00
Vagrantfile Updated from OpenStack Ansible Tests 2017-07-06 13:02:29 +00:00

Team and repository tags

image

OpenStack-Ansible glance

This Ansible role installs and configures OpenStack glance and the glance registry.

Documentation for the project can be found at:

http://docs.openstack.org/developer/openstack-ansible-os_glance/

The project home is at:

http://launchpad.net/openstack-ansible