X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fprometheus%2Ftasks%2Funinstall.yml;h=c6436c5aa25e6b8291e419a54ce80da5a2893fdd;hb=6ce510fccce9b5481e88d10c3ffa73ed0284b517;hp=d9a1f4ea782b9db9fbe64aae5973186f16c1936b;hpb=e9b85b62dc28f25f5bb70886628c34f598526438;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 d9a1f4e..c6436c5 100644 --- a/ocd/infra/playbooks/roles/prometheus/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/prometheus/tasks/uninstall.yml @@ -21,8 +21,12 @@ no_log: True - debug: - msg: Prometheus is not present - when: result.rc == 2 + msg: Uninstalling prometheus... + when: result.stdout != "" + +- debug: + msg: Ignore Uninstall Log , Prometheus not installed + when: result.stdout == "" - name: Uninstall prometheus shell: