mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* Add coherency between check and normal mode see issue #24633 * Add changelog fragment for the PR * Make change following PR comment * Remove trailing whitespace
This commit is contained in:
parent
fbbda7267b
commit
240d1a6afb
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