summaryrefslogtreecommitdiffstats
path: root/roles/openshift_prometheus/tasks/uninstall_prometheus.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_prometheus/tasks/uninstall_prometheus.yaml')
-rw-r--r--roles/openshift_prometheus/tasks/uninstall_prometheus.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_prometheus/tasks/uninstall_prometheus.yaml b/roles/openshift_prometheus/tasks/uninstall_prometheus.yaml
new file mode 100644
index 000000000..d746402db
--- /dev/null
+++ b/roles/openshift_prometheus/tasks/uninstall_prometheus.yaml
@@ -0,0 +1,7 @@
+---
+
+# remove namespace - This will delete all the objects inside the namespace
+- name: Remove prometheus project
+ oc_project:
+ state: absent
+ name: "{{ openshift_prometheus_namespace }}"