ceph-ansible/roles/ceph-docker-common/tasks
Andy McCrae d142be0422 Move apt cache update to individual task per role
The apt-cache update can fail due to transient issues related to the
action being a network operation. To reduce the impact of these
transient failures this patch adds a retry to the update_cache task.

However, the apt_repository tasks which would perform an apt_update
won't retry the apt_update on a failure in the same way, as such this PR
moves the apt_update into an individual task, once per role.

Finally, the apt_repository tasks no longer have a changed_when: false,
and the apt_cache update is only performed once per role, if the
repositories change. Otherwise the cache is updated on the "apt" install
tasks if the cache_timeout has been reached.
2018-05-03 14:02:15 +02:00
..
checks ceph-docker-common: Add support for openSUSE Leap distributions 2017-11-14 10:51:23 +00:00
misc ceph-docker-common: Add support for openSUSE Leap distributions 2017-11-14 10:51:23 +00:00
pre_requisites Move apt cache update to individual task per role 2018-05-03 14:02:15 +02:00
check_mandatory_vars.yml all: backward compatibility between stable-2.2 and 3.0 2017-10-20 11:54:10 +02:00
checks.yml docker-common: fix ceph_health check 2017-09-21 09:56:37 +02:00
dirs_permissions.yml distribute rbd bootstrap key if available 2017-08-22 18:55:29 -04:00
fetch_image.yml docker-common: fix container restart on new image 2018-02-14 02:01:29 +01:00
main.yml move selinux check to `ceph-defaults` 2018-04-04 10:51:17 +02:00
release.yml name includes and set_fact for clarity 2017-09-18 23:39:46 +02:00
stat_ceph_files.yml syntax: change local_action syntax 2018-01-31 10:45:34 +01:00
system_checks.yml docker: fail if systemd is not present 2017-02-01 17:18:17 +01:00