Logs added with msgs
[ealt-edge.git] / ocd / infra / playbooks / roles / grafana / tasks / install.yml
index bdf2854..e55bda8 100644 (file)
   no_log: True
 
 - debug:
-    msg: Grafana is already present
-  when: result.rc == 0
+    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: