Logs added with msgs
[ealt-edge.git] / ocd / infra / playbooks / roles / prometheus / tasks / uninstall.yml
index c4b7876..c6436c5 100644 (file)
   shell:
     cmd: helm status mep-prometheus
   register: result
-  ignore_errors: true
+  ignore_errors: yes
+  no_log: True
+
+- debug:
+    msg: Uninstalling prometheus...
+  when: result.stdout != ""
+
+- debug:
+    msg: Ignore Uninstall Log , Prometheus not installed
+  when: result.stdout == ""
 
 - name: Uninstall prometheus
   shell: