summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2017-09-19 09:20:02 -0400
committerLuke Meyer <lmeyer@redhat.com>2017-09-19 09:20:02 -0400
commit5fb010d35a41336731e555a418245311dc4a21a9 (patch)
tree552b64f0ca096768f234b30398fff61217f7e001 /playbooks/common/openshift-cluster
parentb55ebb3088ffbe13361ac821dc872697fe34820a (diff)
downloadopenshift-5fb010d35a41336731e555a418245311dc4a21a9.tar.gz
openshift-5fb010d35a41336731e555a418245311dc4a21a9.tar.bz2
openshift-5fb010d35a41336731e555a418245311dc4a21a9.tar.xz
openshift-5fb010d35a41336731e555a418245311dc4a21a9.zip
more retries on repoquery_cmd
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml b/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml
index b2a2eac9a..52345a9ba 100644
--- a/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml
+++ b/playbooks/common/openshift-cluster/upgrades/docker/upgrade_check.yml
@@ -18,12 +18,16 @@
- name: Get current version of Docker
command: "{{ repoquery_cmd }} --installed --qf '%{version}' docker"
register: curr_docker_version
+ retries: 4
+ until: curr_docker_version | succeeded
changed_when: false
- name: Get latest available version of Docker
command: >
{{ repoquery_cmd }} --qf '%{version}' "docker"
register: avail_docker_version
+ retries: 4
+ until: avail_docker_version | succeeded
# Don't expect docker rpm to be available on hosts that don't already have it installed:
when: pkg_check.rc == 0
failed_when: false