Add stdout_lines to results when using with_items

pull/9997/head
Shawn Siefkas 10 years ago
parent f1fdddb640
commit 682b987567

@ -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

Loading…
Cancel
Save