Fix logic where invocation details are added to results

pull/11603/head
James Cammarata 9 years ago
parent 0b035a4e35
commit 2d870b7112

@ -404,7 +404,7 @@ class ActionBase:
data['stdout_lines'] = data.get('stdout', '').splitlines()
# store the module invocation details back into the result
if self._task.async is not None:
if self._task.async != 0:
data['invocation'] = dict(
module_args = module_args,
module_name = module_name,

Loading…
Cancel
Save