summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2017-02-10 17:22:44 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2017-02-10 17:23:46 +0100
commit07de61d44642e0b06cc0dffc62e29ddf7f678991 (patch)
treec6e835e111133183d91fbd744133f132ca7317b8
parent4c47f15b8a1328528cd6365b2d05578ab7fc1439 (diff)
downloadopenshift-07de61d44642e0b06cc0dffc62e29ddf7f678991.tar.gz
openshift-07de61d44642e0b06cc0dffc62e29ddf7f678991.tar.bz2
openshift-07de61d44642e0b06cc0dffc62e29ddf7f678991.tar.xz
openshift-07de61d44642e0b06cc0dffc62e29ddf7f678991.zip
uninstall: delete master-api and master-controllers
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--playbooks/adhoc/uninstall.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index 147e84131..ffdcd0ce1 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/playbooks/adhoc/uninstall.yml
@@ -148,6 +148,22 @@
- vovsbr
when: "{{ openshift_remove_all | default(true) | bool }}"
+ - shell: atomic uninstall "{{ item }}"-master-api
+ changed_when: False
+ failed_when: False
+ with_items:
+ - openshift-enterprise
+ - atomic-enterprise
+ - origin
+
+ - shell: atomic uninstall "{{ item }}"-master-controllers
+ changed_when: False
+ failed_when: False
+ with_items:
+ - openshift-enterprise
+ - atomic-enterprise
+ - origin
+
- shell: atomic uninstall "{{ item }}"-master
changed_when: False
failed_when: False