Fix logic where invocation details are added to results

pull/4420/head
James Cammarata 2015-07-15 10:20:55 -04:00
parent 0b035a4e35
commit 2d870b7112
1 changed files with 1 additions and 1 deletions

View File

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