With enough verbosity level set for the ansible cli one can see the
output lines of a command executed on a remote host. However, these
lines are split into stdout lines and stderr lines, making it imposible
to determine the order of occurence between stdout and stderr lines.
That means that you cannot figure out if a line in stderr came out
before or after a line in stdout and the opposite. This is really a
problem when you are trying to debug things. So, I think we also need a
combined view of output lines in the exact order they come out. Is there
such a view already available somehow?
Basic answer here is no.
stdout and stderr are different pipes for the subprocess module, so some extra code would be involved to make this an option to the module.
I’d be open to it.
–Michael