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=b5a2722826f7b7acdba2c04331ae85f5a8aaec25;hpb=b799151f59de0ff7cbf90fe3e653ef9a7bfaed10;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 b5a2722..be458fd 100644 --- a/ocd/infra/playbooks/roles/prometheus/tasks/install.yml +++ b/ocd/infra/playbooks/roles/prometheus/tasks/install.yml @@ -17,15 +17,18 @@ shell: cmd: helm status mep-prometheus register: result - failed_when: false + ignore_errors: yes no_log: True - debug: - msg: Prpmetheus is already present - when: result.rc == 0 + msg: prometheus is already present + when: result.stdout != "" -- meta: end_play - when: result.rc == 0 +- 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: