summaryrefslogtreecommitdiffstats
path: root/roles/openshift_prometheus/tasks/uninstall_prometheus.yaml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-11-22 10:00:08 -0500
committerGitHub <noreply@github.com>2017-11-22 10:00:08 -0500
commit21823fcfbe1a435264c3574806c6f38dd8ddc57f (patch)
treed98052e355a416912c7825a25f463b4449272c4b /roles/openshift_prometheus/tasks/uninstall_prometheus.yaml
parent1ad44b02b99b0e0e7e69c6c25ece502f9962c6a1 (diff)
parent24ac787110041ce99e1589cd621e07bb14e546ba (diff)
downloadopenshift-21823fcfbe1a435264c3574806c6f38dd8ddc57f.tar.gz
openshift-21823fcfbe1a435264c3574806c6f38dd8ddc57f.tar.bz2
openshift-21823fcfbe1a435264c3574806c6f38dd8ddc57f.tar.xz
openshift-21823fcfbe1a435264c3574806c6f38dd8ddc57f.zip
Merge pull request #6180 from zgalor/uninstall_prometheus
Fix uninstall option for prometheus
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 }}"