X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=ocd%2Finfra%2Fplaybooks%2Froles%2FcAdvisor%2Ftasks%2Finstall.yml;h=8c49f6a9edc062368b619a182ae9afa5155ac3bd;hb=b799151f59de0ff7cbf90fe3e653ef9a7bfaed10;hp=f46bcd1722ee086101b6af070f4363bd2da3af0c;hpb=51d4443cc5388c98500d5b1520ed2457b3682da9;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/cAdvisor/tasks/install.yml b/ocd/infra/playbooks/roles/cAdvisor/tasks/install.yml index f46bcd1..8c49f6a 100644 --- a/ocd/infra/playbooks/roles/cAdvisor/tasks/install.yml +++ b/ocd/infra/playbooks/roles/cAdvisor/tasks/install.yml @@ -17,7 +17,15 @@ 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