X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fprometheus%2Ftasks%2Finstall.yml;h=be458fd5f0f34d00a5deaf885b412d72e590d21c;hb=6ce510fccce9b5481e88d10c3ffa73ed0284b517;hp=0c85ecf2f931483181abd0c7a4c67573c381d2e8;hpb=e9b85b62dc28f25f5bb70886628c34f598526438;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/prometheus/tasks/install.yml b/ocd/infra/playbooks/roles/prometheus/tasks/install.yml index 0c85ecf..be458fd 100644 --- a/ocd/infra/playbooks/roles/prometheus/tasks/install.yml +++ b/ocd/infra/playbooks/roles/prometheus/tasks/install.yml @@ -21,8 +21,14 @@ no_log: True - debug: - msg: Prpmetheus is already present - when: result.rc == 0 + msg: prometheus is already present + when: result.stdout != "" + +- debug: +# yamllint disable rule:line-length + msg: Ignore Uninstall Log , prometheus not installed continue with Installation +# yamllint disable rule:line-length + when: result.stdout == "" - name: Install prometheus on x86_64 shell: