Go to file
git-harry 7596eaa889 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.

Change-Id: I91b7929113f720bc3c55343c481096657376302f
Partial-bug: 1750656
2018-02-21 10:10:32 +00:00
2017-10-17 19:29:16 +01:00
2017-10-10 09:26:45 +00:00
2018-02-10 14:26:27 +00:00
2015-12-14 15:20:02 +00:00
2015-12-09 09:23:50 -06:00
2016-09-27 16:00:50 +01:00
2017-03-02 11:51:11 +00:00
2017-11-29 01:59:52 +00:00

Team and repository tags

image

OpenStack-Ansible Galera server

Documentation for the project can be found at:

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

The project home is at:

https://launchpad.net/openstack-ansible

Description
Role galera_server for OpenStack-Ansible
Readme 9.4 MiB
Languages
Python 54.9%
Jinja 45.1%