ceph-ansible/roles/ceph-docker-common
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
..
defaults container: change the way we force no logs inside the container 2018-01-10 16:21:47 +01:00
meta ceph-docker-common: Add support for openSUSE Leap distributions 2017-11-14 10:51:23 +00:00
tasks Move apt cache update to individual task per role 2018-05-03 14:02:15 +02:00
README.md Cleanup readme files in roles directories 2017-10-17 11:22:06 +02:00

README.md

Ansible role: ceph-docker

Documentation is available at http://docs.ceph.com/ceph-ansible/.