openstack-ansible-os_glance/tasks
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
..
glance_db_setup.yml Revert "Only sync glance database on major versions" 2017-07-12 11:43:39 +01:00
glance_init_systemd.yml Ensure that services restart in a particular order 2017-06-30 13:27:56 +01:00
glance_install.yml Add support for the openSUSE Leap distributions 2017-07-06 13:19:19 +01:00
glance_post_install.yml Perform an atomic policy file change 2017-04-21 15:49:01 +01:00
glance_pre_install.yml Default to "omit" mode from directory creation 2017-04-11 17:34:40 +01:00
glance_service_setup.yml Cleanup/standardize usage of tags 2016-07-12 16:55:32 -04:00
main.yml Revert "Only sync glance database on major versions" 2017-07-12 11:43:39 +01:00