summaryrefslogtreecommitdiffstats
path: root/playbooks/gcp/openshift-cluster/deprovision.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/gcp/openshift-cluster/deprovision.yml')
-rw-r--r--playbooks/gcp/openshift-cluster/deprovision.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/gcp/openshift-cluster/deprovision.yml b/playbooks/gcp/openshift-cluster/deprovision.yml
new file mode 100644
index 000000000..589fddd2f
--- /dev/null
+++ b/playbooks/gcp/openshift-cluster/deprovision.yml
@@ -0,0 +1,10 @@
+# This playbook terminates a running cluster
+---
+- name: Terminate running cluster and remove all supporting resources in GCE
+ hosts: localhost
+ connection: local
+ tasks:
+ - include_role:
+ name: openshift_gcp
+ vars:
+ state: absent