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=29afd24606862b53390d7844149ca3fd6a4339c1;hpb=59dd8106f3a4a96962d8f5d74d9c39754f1eec7b;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 29afd24..be458fd 100644 --- a/ocd/infra/playbooks/roles/prometheus/tasks/install.yml +++ b/ocd/infra/playbooks/roles/prometheus/tasks/install.yml @@ -17,7 +17,18 @@ shell: cmd: helm status mep-prometheus register: result - ignore_errors: true + ignore_errors: yes + no_log: True + +- debug: + 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: