X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fhelm%2Ftasks%2Funinstall.yml;h=09aa6b28fc48968dc1206b0734a92c7e0ff313da;hb=eb05c8bc1426f5fcc50d03b41ebec552e6db358d;hp=979df7e236b59dc4a6b236016d7e7fa57f853e23;hpb=9f74e23876b3421fa578246e8b3836aeefd81816;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..09aa6b2 100644 --- a/ocd/infra/playbooks/roles/helm/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/helm/tasks/uninstall.yml @@ -16,7 +16,12 @@ - name: check whether helm is installed before deleting command: which helm register: result - ignore_errors: 'True' + ignore_errors: yes + no_log: True + +- debug: + msg: Helm is not present + when: result.rc == 2 - name: Helm Uninstall on x86_64 command: rm -rf linux-amd64/helm