shell:
cmd: helm status mep-prometheus
register: result
- ignore_errors: true
+ ignore_errors: yes
+ no_log: True
+
+- debug:
+ msg: prometheus is already present
+ when: result.stdout != ""
+
+- debug:
+# yamllint disable rule:line-length
+ msg: Ignore Uninstall Log , prometheus not installed continue with Installation
+# yamllint disable rule:line-length
+ when: result.stdout == ""
- name: Install prometheus on x86_64
shell: