1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

low_level_execute_command: add stderr_lines

This commit is contained in:
Martin Krizek 2018-05-14 15:56:49 +02:00 committed by Brian Coca
parent afc196acf1
commit 6d984c7988

View file

@ -931,7 +931,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
out = self._strip_success_message(out)
display.debug(u"_low_level_execute_command() done: rc=%d, stdout=%s, stderr=%s" % (rc, out, err))
return dict(rc=rc, stdout=out, stdout_lines=out.splitlines(), stderr=err)
return dict(rc=rc, stdout=out, stdout_lines=out.splitlines(), stderr=err, stderr_lines=err.splitlines())
def _get_diff_data(self, destination, source, task_vars, source_file=True):