X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fprometheus%2Ftasks%2Funinstall.yml;h=40aca5cd50c99acc0cf7aaaa52a0bcb63e0ae30d;hb=b799151f59de0ff7cbf90fe3e653ef9a7bfaed10;hp=c4b7876b554527b1dd583c75e41cd4285ebe8b77;hpb=51d4443cc5388c98500d5b1520ed2457b3682da9;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/prometheus/tasks/uninstall.yml b/ocd/infra/playbooks/roles/prometheus/tasks/uninstall.yml index c4b7876..40aca5c 100644 --- a/ocd/infra/playbooks/roles/prometheus/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/prometheus/tasks/uninstall.yml @@ -17,7 +17,15 @@ shell: cmd: helm status mep-prometheus register: result - ignore_errors: true + failed_when: false + no_log: True + +- debug: + msg: Prometheus is not present + when: result.rc == 2 + +- meta: end_play + when: result.rc == 2 - name: Uninstall prometheus shell: