– name: verify application/database processes are not running shell: if ps -eaf | egrep ‘apache|http’|grep -v grep > /dev/null ;then echo ‘process_running’;else echo ‘process_not_running’;fi ignore_errors: true register: app_process_check
If i write something like above , How do i Check/Display what value “app_process_check” has got ? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a7cdb02d-46ca-4db4-a46f-9a6080060f10%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
