# Show output of shell tasks as they occur

**URL:** <https://forum.ansible.com/t/show-output-of-shell-tasks-as-they-occur/31004>\
**Category:** Ansible Project\
**Created:** [August 9, 2019, 1:22pm UTC](https://forum.ansible.com/t/show-output-of-shell-tasks-as-they-occur/31004 "2019-08-09T13:22:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angel\_Rengifo\_Cancin](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Post date:** [August 9, 2019, 1:22pm UTC](https://forum.ansible.com/t/show-output-of-shell-tasks-as-they-occur/31004/1 "2019-08-09T13:22:01Z")

</div>

Hello guys:

Not sure whether this is possible or not, but here’s my question. I’m running tasks with Ansible by using command or shell module. I am able to see the output of such commands by registering stdout to a variable and later showing it with debug module, but I must wait for the shell task ending before seeing their output.

Is there a way to see such output (stdout/stderr) dynamically? Something similar to tail -f

If anybody have any idea, please share some guidance.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [August 10, 2019, 12:27am UTC](https://forum.ansible.com/t/show-output-of-shell-tasks-as-they-occur/31004/2 "2019-08-10T00:27:00Z")

</div>

This is not possible.
