1
0
Fork 0
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:
James Cammarata 2015-07-15 10:20:55 -04:00
parent 0b035a4e35
commit 2d870b7112

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,