Hi all:
I submitted a pull request to implement realtime output: https://github.com/ansible/ansible/pull/6035/
Since the proposed patch is large, Michael suggested starting a thread on the mailing list to discuss it. I made an effort to summarize the impact in the pull request comment.
Let me know what you think.
Lorin
I would have thought that this discussion belongs on the Ansible Development list rather than here.
I can see that this might be useful for debugging but would be rather horrible to look at when used with more than one host. What was the use case that prompted this for you?
Adam
Yeah my concern is that people will want to try on more than one host.
My thought would be that if this were implemented we might return the output taken from the last poll interval, but since we are often dealing with JSON and atomic modules that don’t return until they are done (i.e. there is no module.partial_status in module common), it’s all kind of confusing/tricky.
Yeah, I didn’t realize that there was a development mailing list when I originally posted this. I’ll post it there instead.