diff options
author | Zohar Galor <zgalor@redhat.com> | 2018-02-07 15:24:36 +0200 |
---|---|---|
committer | Zohar Galor <zgalor@redhat.com> | 2018-02-07 15:24:36 +0200 |
commit | e9549dc5f790effe158e130bbe4eec869ddbab0f (patch) | |
tree | 1ba36e565ddcae440219068ae8f203ca53a7ea15 /roles/openshift_prometheus/tasks/uninstall_prometheus.yaml | |
parent | 5e7eaaf7b8b30f8343b1564853b82c1e768f546e (diff) | |
download | openshift-e9549dc5f790effe158e130bbe4eec869ddbab0f.tar.gz openshift-e9549dc5f790effe158e130bbe4eec869ddbab0f.tar.bz2 openshift-e9549dc5f790effe158e130bbe4eec869ddbab0f.tar.xz openshift-e9549dc5f790effe158e130bbe4eec869ddbab0f.zip |
Fix uninstall using openshift_prometheus_state=absent
This was broken in https://github.com/openshift/openshift-ansible/pull/6811
bz: https://bugzilla.redhat.com/show_bug.cgi?id=1540806
Diffstat (limited to 'roles/openshift_prometheus/tasks/uninstall_prometheus.yaml')
-rw-r--r-- | roles/openshift_prometheus/tasks/uninstall_prometheus.yaml | 7 |
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 }}" |