X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fgrafana%2Ftasks%2Funinstall.yml;h=6f08c57dbcbc052ffcddc6e23a8b03351561596b;hb=6ce510fccce9b5481e88d10c3ffa73ed0284b517;hp=d95f346b8166721f81a827778ccef00d2d67264a;hpb=b799151f59de0ff7cbf90fe3e653ef9a7bfaed10;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/grafana/tasks/uninstall.yml b/ocd/infra/playbooks/roles/grafana/tasks/uninstall.yml index d95f346..6f08c57 100644 --- a/ocd/infra/playbooks/roles/grafana/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/grafana/tasks/uninstall.yml @@ -17,15 +17,16 @@ shell: cmd: helm status mec-grafana register: result - failed_when: false + ignore_errors: yes no_log: True - debug: - msg: grafana is not present - when: result.rc == 2 + msg: Uninstalling docker... + when: result.stdout != "" -- meta: end_play - when: result.rc == 2 +- debug: + msg: Ignore Uninstall Log , Grafana not installed + when: result.stdout == "" - name: Uninstall grafana shell: