mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Revert "removed invocation info as it is not no_log aware"
This reverts commit 6127a8585e
.
This commit is contained in:
parent
c63ae99485
commit
2936682f00
1 changed files with 6 additions and 7 deletions
|
@ -82,14 +82,13 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
|||
|
||||
* Module parameters. These are stored in self._task.args
|
||||
"""
|
||||
# store the module invocation details into the results
|
||||
results = {}
|
||||
# This does not respect no_log set by module args, left here for debugging module invocation
|
||||
#if self._task.async == 0:
|
||||
# # store the module invocation details into the results
|
||||
# results['invocation'] = dict(
|
||||
# module_name = self._task.action,
|
||||
# module_args = self._task.args,
|
||||
# )
|
||||
if self._task.async == 0:
|
||||
results['invocation'] = dict(
|
||||
module_name = self._task.action,
|
||||
module_args = self._task.args,
|
||||
)
|
||||
return results
|
||||
|
||||
def _configure_module(self, module_name, module_args, task_vars=None):
|
||||
|
|
Loading…
Reference in a new issue