* Add coherency between check and normal mode see issue #24633
* Add changelog fragment for the PR
* Make change following PR comment
* Remove trailing whitespace
(cherry picked from commit 240d1a6afb
)
This commit is contained in:
parent
6ce98295c1
commit
22c4745b96
2 changed files with 6 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- copy - align invocation in return value between check and normal mode
|
|
@ -216,7 +216,10 @@ class ActionModule(ActionBase):
|
|||
if self._play_context.no_log:
|
||||
result['invocation'] = "CENSORED: no_log is set"
|
||||
else:
|
||||
result["invocation"] = self._task.args.copy()
|
||||
# NOTE: Should be removed in the future. For now keep this broken
|
||||
# behaviour, have a look in the PR 51582
|
||||
result['invocation'] = self._task.args.copy()
|
||||
result['invocation']['module_args'] = self._task.args.copy()
|
||||
|
||||
if isinstance(result['invocation'], dict) and 'content' in result['invocation']:
|
||||
result['invocation']['content'] = 'CENSORED: content is a no_log parameter'
|
||||
|
|
Loading…
Reference in a new issue