mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fix for invocation not being added to output.
We want invocation to be omitted when we are running async, not when we aren't running async.
This commit is contained in:
@@ -442,7 +442,7 @@ class ActionBase:
|
|||||||
data['stdout_lines'] = data.get('stdout', u'').splitlines()
|
data['stdout_lines'] = data.get('stdout', u'').splitlines()
|
||||||
|
|
||||||
# store the module invocation details back into the result
|
# store the module invocation details back into the result
|
||||||
if self._task.async != 0:
|
if self._task.async == 0:
|
||||||
data['invocation'] = dict(
|
data['invocation'] = dict(
|
||||||
module_args = module_args,
|
module_args = module_args,
|
||||||
module_name = module_name,
|
module_name = module_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user