+- name: check if grafana is already installed
+ shell:
+ cmd: helm status mec-grafana
+ register: result
+ 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: Install grafana on x86_64"