summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorLuke Meyer <sosiouxme@gmail.com>2017-12-01 10:30:37 -0500
committerGitHub <noreply@github.com>2017-12-01 10:30:37 -0500
commiteda433cad9347d9ea7a498beaf6a696a7bf063db (patch)
tree1961a3fa38ef26a429a6e5dbc7667891e28f9303 /playbooks/common/openshift-cluster
parentb66f8b9b5f12333cd962ae9b7d1f41049343146a (diff)
parentfbb4e1ca73fd39ce9f18fa7c6f05766ccb0e484a (diff)
downloadopenshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.tar.gz
openshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.tar.bz2
openshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.tar.xz
openshift-eda433cad9347d9ea7a498beaf6a696a7bf063db.zip
Merge pull request #6302 from sosiouxme/20170817-add-retries
retry package operations
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/docker/tasks/upgrade.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/docker/tasks/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/docker/tasks/upgrade.yml
index 808cc562c..83be290e6 100644
--- a/playbooks/common/openshift-cluster/upgrades/docker/tasks/upgrade.yml
+++ b/playbooks/common/openshift-cluster/upgrades/docker/tasks/upgrade.yml
@@ -41,6 +41,8 @@
- name: Upgrade Docker
package: name=docker{{ '-' + docker_version }} state=present
+ register: result
+ until: result | success
- include: restart.yml
when: not skip_docker_restart | default(False) | bool