summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cfme/tasks/uninstall.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_cfme/tasks/uninstall.yml')
-rw-r--r--roles/openshift_cfme/tasks/uninstall.yml23
1 files changed, 0 insertions, 23 deletions
diff --git a/roles/openshift_cfme/tasks/uninstall.yml b/roles/openshift_cfme/tasks/uninstall.yml
deleted file mode 100644
index 068d065c2..000000000
--- a/roles/openshift_cfme/tasks/uninstall.yml
+++ /dev/null
@@ -1,23 +0,0 @@
----
-- name: Start removing all the objects
- command: "oc delete -n {{ openshift_cfme_project }} {{ item }} --all"
- with_items:
- - rc
- - dc
- - po
- - svc
- - pv
- - pvc
- - statefulsets
- - routes
-
-- name: Remove the project
- command: "oc delete -n {{ openshift_cfme_project }} project {{ openshift_cfme_project }}"
-
-- name: Verify project has been destroyed
- command: "oc get project {{ openshift_cfme_project }}"
- ignore_errors: True
- register: project_terminated
- until: project_terminated.stderr.find("NotFound") != -1
- delay: 5
- retries: 30