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