Logs added with msgs
[ealt-edge.git] / ocd / infra / playbooks / roles / grafana / tasks / install.yml
index 93a392c..e55bda8 100644 (file)
   shell:
     cmd: helm status mec-grafana
   register: result
-  ignore_errors: true
+  ignore_errors: yes
+  no_log: True
+
+- debug:
+    msg: grafana is already present
+  when: result.stdout != ""
+
+- debug:
+# yamllint disable rule:line-length
+    msg: Ignore Uninstall Log , Grafana not installed continue with Installation
+# yamllint disable rule:line-length
+  when: result.stdout == ""
 
 - name: Install grafana on x86_64
   shell: