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
/
uninstall.yml
diff --git
a/ocd/infra/playbooks/roles/prometheus/tasks/uninstall.yml
b/ocd/infra/playbooks/roles/prometheus/tasks/uninstall.yml
index
d9a1f4e
..
c6436c5
100644
(file)
--- a/
ocd/infra/playbooks/roles/prometheus/tasks/uninstall.yml
+++ b/
ocd/infra/playbooks/roles/prometheus/tasks/uninstall.yml
@@
-21,8
+21,12
@@
no_log: True
- debug:
no_log: True
- debug:
- msg: Prometheus is not present
- when: result.rc == 2
+ msg: Uninstalling prometheus...
+ when: result.stdout != ""
+
+- debug:
+ msg: Ignore Uninstall Log , Prometheus not installed
+ when: result.stdout == ""
- name: Uninstall prometheus
shell:
- name: Uninstall prometheus
shell: