Commit 2d870b71 by James Cammarata

Fix logic where invocation details are added to results

parent 0b035a4e
......@@ -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,
......
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