summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cli
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 /roles/openshift_cli
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 'roles/openshift_cli')
-rw-r--r--roles/openshift_cli/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_cli/tasks/main.yml b/roles/openshift_cli/tasks/main.yml
index 6aa15d568..7b046b2c4 100644
--- a/roles/openshift_cli/tasks/main.yml
+++ b/roles/openshift_cli/tasks/main.yml
@@ -8,6 +8,8 @@
- name: Install clients
package: name={{ openshift.common.service_type }}-clients state=present
when: not openshift.common.is_containerized | bool
+ register: result
+ until: result | success
- block:
- name: Pull CLI Image
@@ -47,3 +49,5 @@
- name: Install bash completion for oc tools
package: name=bash-completion state=present
when: not openshift.common.is_containerized | bool
+ register: result
+ until: result | success