Role galera_server for OpenStack-Ansible
Go to file
git-harry ea7b8b253b Fix cache update after initial apt_repository fail
If apt_repository fails to update the apt cache after updating the
configuration, retries don't register there was a change and so no
attempt is made to update the cache by the module on the second attempt.
This failure can result in a failure to install packages.

This change puts responsibility for updating the cache on the apt module
task, this means updating the cache will get retried on failure and no
longer fail silently.

The changes made include:
- the two apt_repository tasks have their update_cache parameter set to
  no so it is clear where any update happens and there is no unnecessary
  duplication of cache updates.
- the use of retries is removed given the tasks no longer need to make
  use of the network.
- the apt_repository task result variables have been given unique names
  to ensure that the cache is updated if only the galera repository is
  added.

In addition, this cherry-pick separates out the cache update step from
the install task so that the update is not performed for every item.

Change-Id: I91b7929113f720bc3c55343c481096657376302f
Partial-bug: 1750656
(cherry picked from commit 7596eaa889)
2018-02-22 17:05:37 +00:00
defaults Prevent latest mariadb version 2018-02-08 08:37:38 +00:00
doc Update repository with reference to role git location 2016-12-22 14:26:20 +00:00
examples [DOCS] Move example playbook to separate file 2016-08-12 13:31:55 -05:00
files Implement Xenial Support 2016-05-19 16:38:40 -04:00
handlers Implement a proper WSREP check for galera 2017-12-13 12:22:26 +00:00
library Prevent galera_cluster_name from changing. 2016-09-13 17:32:53 +01:00
meta Remove Trusty support from galera_server role 2016-12-15 13:12:54 +00:00
releasenotes Remove release note for yum mirror change 2018-02-08 07:55:23 -06:00
tasks Fix cache update after initial apt_repository fail 2018-02-22 17:05:37 +00:00
templates Fix Galera socket for RedHat 2018-02-09 10:43:05 -05:00
tests Used cached git sources and enable depends-on 2017-11-06 18:20:24 +00:00
vars Fix Galera socket for RedHat 2018-02-09 10:43:05 -05:00
zuul.d Zuul: Remove project name 2018-01-29 03:29:13 -08:00
.gitignore Updated from OpenStack Ansible Tests 2017-08-25 11:27:16 +00:00
.gitreview Update .gitreview for stable/ocata 2017-02-03 18:57:29 +00:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 15:03:45 -04:00
LICENSE first commit 2015-12-09 09:23:50 -06:00
README.rst Show team and repo badges on README 2016-11-25 16:01:44 +01:00
Vagrantfile Updated from OpenStack Ansible Tests 2017-08-25 11:27:16 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-08-25 11:27:16 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 16:00:50 +01:00
run_tests.sh Used cached git sources and enable depends-on 2017-11-06 18:20:24 +00:00
setup.cfg Update homepage with developer documentation page 2016-09-20 12:42:19 +05:30
setup.py Updated from global requirements 2016-07-15 03:57:25 +00:00
test-requirements.txt Updated from global requirements 2016-12-02 05:10:17 +00:00
tox.ini Used cached git sources and enable depends-on 2017-11-06 18:20:24 +00:00

README.rst

Team and repository tags

image

OpenStack-Ansible Galera server

Documentation for the project can be found at:

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

The project home is at:

http://launchpad.net/openstack-ansible