Show output of shell tasks as they occur

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

This is not possible.