Code Review
/
ealt-edge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Logs added with msgs
[ealt-edge.git]
/
ocd
/
infra
/
playbooks
/
roles
/
prometheus
/
tasks
/
install.yml
diff --git
a/ocd/infra/playbooks/roles/prometheus/tasks/install.yml
b/ocd/infra/playbooks/roles/prometheus/tasks/install.yml
index
b5a2722
..
be458fd
100644
(file)
--- 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
shell:
cmd: helm status mep-prometheus
register: result
- failed_when: false
+ ignore_errors: yes
no_log: True
- debug:
no_log: True
- debug:
- msg:
Prp
metheus is already present
- when: result.
rc == 0
+ msg:
pro
metheus 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:
- name: Install prometheus on x86_64
shell: