Commit 682b9875 by Shawn Siefkas

Add stdout_lines to results when using with_items

parent f1fdddb6
...@@ -817,6 +817,10 @@ class Runner(object): ...@@ -817,6 +817,10 @@ class Runner(object):
port, port,
complex_args=complex_args complex_args=complex_args
) )
if 'stdout' in result.result and 'stdout_lines' not in result.result:
result.result['stdout_lines'] = result.result['stdout'].splitlines()
results.append(result.result) results.append(result.result)
if result.comm_ok == False: if result.comm_ok == False:
all_comm_ok = False all_comm_ok = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment