# Processing ansible's output in shell script

**URL:** <https://forum.ansible.com/t/processing-ansibles-output-in-shell-script/22381>\
**Category:** Ansible Project\
**Created:** [August 25, 2016, 9:46am UTC](https://forum.ansible.com/t/processing-ansibles-output-in-shell-script/22381 "2016-08-25T09:46:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankur.cool](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@ankur.cool](https://forum.ansible.com/u/ankur.cool)\
**Post date:** [August 25, 2016, 9:46am UTC](https://forum.ansible.com/t/processing-ansibles-output-in-shell-script/22381/1 "2016-08-25T09:46:34Z")

</div>

Hi All,

I have shell script that invokes a playbook.  
This playbook is check status of my services.

What I want to achieve is, after execution of playbook I want this status information in my shell script so that I can do some stuff based on status.

So how can we pass data from playbook to shell script that invoked it?

Thanks
