mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
When looking up the `no_log` setting for a parameter that is an alias in
`AnsibleModule._log_invocation()`, the alias value will always be an
empty dictionary since `self.aliases` on the `AnsibleModule` instance is
never updated after initialization. Since the `no_log` setting is on the
canonical parameter not the alias, an incorrect warning is issued if the
parameter matches `PASSWORD_MATCH`.
This PR returns the aliases dictionary as an attribute of the
`ValidationResult` and updates the `aliases` attribute on the
`AnsibleModule` instance.
(cherry picked from commit
|
4 years ago | |
|---|---|---|
| .. | ||
| _vendor | 4 years ago | |
| ansible_test | 5 years ago | |
| cli | 4 years ago | |
| compat | 4 years ago | |
| config | 5 years ago | |
| errors | 4 years ago | |
| executor | 4 years ago | |
| galaxy | 4 years ago | |
| inventory | 6 years ago | |
| inventory_test_data/group_vars | 11 years ago | |
| mock | 4 years ago | |
| module_utils | 4 years ago | |
| modules | 4 years ago | |
| parsing | 4 years ago | |
| playbook | 4 years ago | |
| plugins | 4 years ago | |
| regex | 7 years ago | |
| template | 4 years ago | |
| utils | 4 years ago | |
| vars | 4 years ago | |
| __init__.py | 9 years ago | |
| requirements.txt | 4 years ago | |
| test_constants.py | 5 years ago | |
| test_context.py | 6 years ago | |