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