Processing ansible's output in shell script

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