summaryrefslogtreecommitdiffstats
path: root/roles/docker
diff options
context:
space:
mode:
authorLuke Meyer <sosiouxme@gmail.com>2017-09-14 22:44:15 -0400
committerGitHub <noreply@github.com>2017-09-14 22:44:15 -0400
commit51837924d85f27ccdf83db808746d1a2688685ba (patch)
treec624d0626281ed129ff50be09414eeba21003e47 /roles/docker
parent7bcded20fab1e3dc9f3fabcd7850461fcb66fb39 (diff)
parentc4b7a45842843290d81e0cb29081d01f2210bfee (diff)
downloadopenshift-51837924d85f27ccdf83db808746d1a2688685ba.tar.gz
openshift-51837924d85f27ccdf83db808746d1a2688685ba.tar.bz2
openshift-51837924d85f27ccdf83db808746d1a2688685ba.tar.xz
openshift-51837924d85f27ccdf83db808746d1a2688685ba.zip
Merge pull request #5401 from sosiouxme/20170913-retries-subset
add retries on repoquery
Diffstat (limited to 'roles/docker')
-rw-r--r--roles/docker/tasks/package_docker.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/docker/tasks/package_docker.yml b/roles/docker/tasks/package_docker.yml
index 145b552a6..d685d77f2 100644
--- a/roles/docker/tasks/package_docker.yml
+++ b/roles/docker/tasks/package_docker.yml
@@ -3,6 +3,8 @@
command: "{{ repoquery_cmd }} --installed --qf '%{version}' docker"
when: not openshift.common.is_atomic | bool
register: curr_docker_version
+ retries: 4
+ until: not curr_docker_version | failed
changed_when: false
- name: Error out if Docker pre-installed but too old