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
/
grafana
/
tasks
/
uninstall.yml
diff --git
a/ocd/infra/playbooks/roles/grafana/tasks/uninstall.yml
b/ocd/infra/playbooks/roles/grafana/tasks/uninstall.yml
index
d95f346
..
6f08c57
100644
(file)
--- a/
ocd/infra/playbooks/roles/grafana/tasks/uninstall.yml
+++ b/
ocd/infra/playbooks/roles/grafana/tasks/uninstall.yml
@@
-17,15
+17,16
@@
shell:
cmd: helm status mec-grafana
register: result
shell:
cmd: helm status mec-grafana
register: result
- failed_when: false
+ ignore_errors: yes
no_log: True
- debug:
no_log: True
- debug:
- msg:
grafana is not present
- when: result.
rc == 2
+ msg:
Uninstalling docker...
+ when: result.
stdout != ""
-- meta: end_play
- when: result.rc == 2
+- debug:
+ msg: Ignore Uninstall Log , Grafana not installed
+ when: result.stdout == ""
- name: Uninstall grafana
shell:
- name: Uninstall grafana
shell: