mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix logic where invocation details are added to results
This commit is contained in:
parent
0b035a4e35
commit
2d870b7112
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue