The debug module will help with displaying it and the assert module may be
what you want for checking (although there are many other ways to do the
latter as well)

-toshio

On Nov 26, 2017 7:11 PM, "Viju Venugopal" <[email protected]> wrote:

> – 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
> <https://groups.google.com/d/msgid/ansible-project/a7cdb02d-46ca-4db4-a46f-9a6080060f10%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPrnkaQkYGqAUtjwYR1Rq41FuZ71m2uou70eRtrA7nJ86-RKzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to