diff options
author | Luke Meyer <sosiouxme@gmail.com> | 2017-12-01 10:30:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-01 10:30:37 -0500 |
commit | eda433cad9347d9ea7a498beaf6a696a7bf063db (patch) | |
tree | 1961a3fa38ef26a429a6e5dbc7667891e28f9303 /playbooks/adhoc | |
parent | b66f8b9b5f12333cd962ae9b7d1f41049343146a (diff) | |
parent | fbb4e1ca73fd39ce9f18fa7c6f05766ccb0e484a (diff) | |
download | openshift-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/adhoc')
-rw-r--r-- | playbooks/adhoc/uninstall.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml index 5ed55a817..0c2a2c7e8 100644 --- a/playbooks/adhoc/uninstall.yml +++ b/playbooks/adhoc/uninstall.yml @@ -126,10 +126,14 @@ - origin-sdn-ovs - tuned-profiles-openshift-node - tuned-profiles-origin-node + register: result + until: result | success - name: Remove flannel package package: name=flannel state=absent when: openshift_use_flannel | default(false) | bool + register: result + until: result | success when: not is_atomic | bool - shell: systemctl reset-failed @@ -382,6 +386,8 @@ - origin-master - pacemaker - pcs + register: result + until: result | success - shell: systemctl reset-failed changed_when: False @@ -497,6 +503,8 @@ with_items: - etcd - etcd3 + register: result + until: result | success - shell: systemctl reset-failed changed_when: False @@ -554,6 +562,8 @@ when: not is_atomic | bool and openshift_remove_all | default(True) | bool with_items: - haproxy + register: result + until: result | success - shell: systemctl reset-failed changed_when: False |