diff options
author | Luke Meyer <lmeyer@redhat.com> | 2017-08-22 17:34:14 -0400 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2017-09-13 14:56:58 -0400 |
commit | c4b7a45842843290d81e0cb29081d01f2210bfee (patch) | |
tree | b6f989f9b1c31fab1fa7a13b5d039fb80539fc5b /roles/docker | |
parent | b24e7bfc86894d7c9d81cb5600d7d7b1981844c0 (diff) | |
download | openshift-c4b7a45842843290d81e0cb29081d01f2210bfee.tar.gz openshift-c4b7a45842843290d81e0cb29081d01f2210bfee.tar.bz2 openshift-c4b7a45842843290d81e0cb29081d01f2210bfee.tar.xz openshift-c4b7a45842843290d81e0cb29081d01f2210bfee.zip |
add retry on repoquery_cmd
Diffstat (limited to 'roles/docker')
-rw-r--r-- | roles/docker/tasks/package_docker.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/docker/tasks/package_docker.yml b/roles/docker/tasks/package_docker.yml index bc52ab60c..3db5a990f 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 |