Logs added with msgs
[ealt-edge.git] / ocd / infra / playbooks / roles / rabbitmq / tasks / uninstall.yml
index 753aea5..14c1276 100644 (file)
   shell:
     cmd: kubectl get pods rabbitmq-0
   register: result
-  ignore_errors: true
+  ignore_errors: yes
+  no_log: True
+
+- debug:
+    msg: Uninstalling rabbitmq...
+  when: result.stdout != ""
+
+- debug:
+    msg: Ignore Uninstall Log , Rabbitmq not installed
+  when: result.stdout == ""
 
 - name: Uninstalling rabbitmq
   shell: