# register module help

**URL:** <https://forum.ansible.com/t/register-module-help/26136>\
**Category:** Ansible Project\
**Created:** [November 27, 2017, 3:10am UTC](https://forum.ansible.com/t/register-module-help/26136 "2017-11-27T03:10:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Viju\_Venugopal](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@Viju\_Venugopal](https://forum.ansible.com/u/Viju_Venugopal)\
**Post date:** [November 27, 2017, 3:10am UTC](https://forum.ansible.com/t/register-module-help/26136/1 "2017-11-27T03:10:52Z")

</div>

– 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 ?

---

<div class="post-metadata">

**Author:** ![tkuratom](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Post date:** [November 27, 2017, 5:49am UTC](https://forum.ansible.com/t/register-module-help/26136/2 "2017-11-27T05:49:10Z")

</div>

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
