X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fhelm%2Ftasks%2Funinstall.yml;h=37505183e34bd524da2d766308148b7210b2a01e;hb=a8dcf81e2345773ff97cd6f4befe9c6212891f59;hp=979df7e236b59dc4a6b236016d7e7fa57f853e23;hpb=79c3044fe0fadcad5cb5f4f00e0566b97dc72754;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/helm/tasks/uninstall.yml b/ocd/infra/playbooks/roles/helm/tasks/uninstall.yml index 979df7e..3750518 100644 --- a/ocd/infra/playbooks/roles/helm/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/helm/tasks/uninstall.yml @@ -16,7 +16,15 @@ - name: check whether helm is installed before deleting command: which helm register: result - ignore_errors: 'True' + failed_when: false + no_log: True + +- debug: + msg: Helm is not present + when: result.rc == 2 + +- meta: end_play + when: result.rc == 2 - name: Helm Uninstall on x86_64 command: rm -rf linux-amd64/helm