mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-20 17:59:00 +00:00
library: Rename invocation return value
Since `invocation` is an Ansible special value that is set for triple verbosity, it is now visible for smaller verbosity. Therefore rename it to `_invocation`, which seems to work with less verbosity. Also adjust the content to match the regular `invocation` style.
This commit is contained in:
parent
6eb2d1d938
commit
eb6c9c1cc8
1 changed files with 1 additions and 1 deletions
|
|
@ -1599,7 +1599,7 @@ class RunEnvironmentAnsible(RunEnvironment):
|
|||
kwargs["warnings"] = warning_logs
|
||||
stderr = "\n".join(debug_logs) + "\n"
|
||||
kwargs["stderr"] = stderr
|
||||
kwargs["invocation"] = {"params": self.module.params}
|
||||
kwargs["_invocation"] = {"module_args": self.module.params}
|
||||
return kwargs
|
||||
|
||||
def exit_json(self, connections, changed=False, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue