summaryrefslogtreecommitdiffstats
path: root/playbooks/init
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/init
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/init')
-rw-r--r--playbooks/init/facts.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/init/facts.yml b/playbooks/init/facts.yml
index 05142f9b6..1166ac538 100644
--- a/playbooks/init/facts.yml
+++ b/playbooks/init/facts.yml
@@ -84,6 +84,8 @@
- "{{ 'python3-dbus' if ansible_distribution == 'Fedora' else 'dbus-python' }}"
- "{{ 'python3-PyYAML' if ansible_distribution == 'Fedora' else 'PyYAML' }}"
- yum-utils
+ register: result
+ until: result | success
- name: Ensure various deps for running system containers are installed
package:
@@ -100,6 +102,8 @@
or (openshift_use_openvswitch_system_container | default(False)) | bool
or (openshift_use_node_system_container | default(False)) | bool
or (openshift_use_master_system_container | default(False)) | bool
+ register: result
+ until: result | success
- name: Gather Cluster facts and set is_containerized if needed
openshift_facts: