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.
ansible/lib/ansible
kaorihinata 3ca4580cb4 Allow no_log=False to silence the no_log warnings for module parameters (#64733)
As AnsibleModule._log_invocation is currently implemented, any parameter
with a name that matches PASSWORD_MATCH triggers the no_log warning as a
precaution against parameters that may contain sensitive data, but have not
been marked as sensitive by the module author.

This patch would allow module authors to explicitly mark the aforementioned
parameters as not sensitive thereby bypassing an erroneous warning message,
while still catching parameters which have not been marked at all by the
author.

Adds tests for various no_log states including True, False, and None (as
extracted by AnsibleModule._log_invocation) when applied to an argument with
a name that matches PASSWORD_MATCH.

Fixes: #49465 #64656
6 years ago
..
cli ansible-galaxy ignore empty server_list (#65986) 6 years ago
compat Update bundled copy of selectors2 from 1.1.0 to 1.1.1 (#55457) 7 years ago
config Assign AWS Cloudwatch Metric Filter via Ansible (#59925) 6 years ago
errors Misc typo fixes (#66120) 6 years ago
executor Ensure that data within a tuple is marked as unsafe (#65918) 6 years ago
galaxy Don't remove trailing / on galaxy api URLS (#63294) 6 years ago
inventory inventory: Fail on non-existing limit file (#59758) 6 years ago
module_utils Allow no_log=False to silence the no_log warnings for module parameters (#64733) 6 years ago
modules win_user_right - docs to show how to remove all (#66315) 6 years ago
parsing Add a representer for AnsibleUnsafeBytes (#62598) 6 years ago
playbook Check if task file is specified for import_tasks (#57572) 6 years ago
plugins Make sure warnings are printed during fact gathering (#66258) 6 years ago
template Ensure that data within a tuple is marked as unsafe (#65918) 6 years ago
utils Ensure that data within a tuple is marked as unsafe (#65918) 6 years ago
vars Track source of vars 6 years ago
__init__.py
constants.py Fix netconf plugin related to collections (#65718) 6 years ago
context.py Become plugins (#50991) 7 years ago
release.py Update release name for 2.10 6 years ago