From: Andrew Schoen Date: Tue, 8 Sep 2015 16:14:51 +0000 (-0500) Subject: testnode: add a retry to installing the apt keys X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=99f952c6087f0826de582fe926f1f5e5155cfaad;p=ceph-cm-ansible.git testnode: add a retry to installing the apt keys Because we're using a mirror that sometimes doesn't respond in a timely manner, add 2 minutes of retries to overcome transient HTTP issues. Signed-off-by: Andrew Schoen --- diff --git a/roles/testnode/tasks/apt/repos.yml b/roles/testnode/tasks/apt/repos.yml index 01f75e7..4dc6faa 100644 --- a/roles/testnode/tasks/apt/repos.yml +++ b/roles/testnode/tasks/apt/repos.yml @@ -37,6 +37,9 @@ with_items: - "http://{{ git_mirror_host }}/autobuild.asc" - "http://{{ git_mirror_host }}/release.asc" + # try for 2 minutes before failing + retries: 24 + delay: 5 # required for apt_repository - name: Install python-apt