shell:
cmd: helm status cadvisor
register: result
- ignore_errors: 'True'
+ failed_when: false
+ no_log: True
+
+- debug:
+ msg: cAdvisor is already present
+ when: result.rc == 0
+
+- meta: end_play
+ when: result.rc == 0
- name: "Add helm repo"
command: helm repo add code-chris https://code-chris.github.io/helm-charts