Commit be4dbe76 by Toshio Kuratomi

Merge pull request #9997 from shawnsi/stdout_lines

Add stdout_lines to results when using with_items
parents dde32a82 682b9875
......@@ -817,6 +817,10 @@ class Runner(object):
port,
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)
if result.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