Added pre installation and unindtallation
[ealt-edge.git] / ocd / infra / playbooks / roles / grafana / tasks / install.yml
index 93a392c..7efd8a6 100644 (file)
   shell:
     cmd: helm status mec-grafana
   register: result
-  ignore_errors: true
+  failed_when: false
+  no_log: True
+
+- debug:
+    msg: Grafana is already present
+  when: result.rc == 0
+
+- meta: end_play
+  when: result.rc == 0
 
 - name: Install grafana on x86_64
   shell: