Mark non-secret leaking module options with no_log=False (#2001)

* Mark non-secret leaking module options with no_log=False.

* Add changelog fragment.
This commit is contained in:
Felix Fontein 2021-03-12 08:51:47 +01:00 committed by GitHub
commit 1ea080762b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 19 additions and 17 deletions

View file

@ -151,7 +151,7 @@ def main():
# Setup the Ansible module
module = AnsibleModule(
argument_spec=dict(
key=dict(type='str', required=True),
key=dict(type='str', required=True, no_log=False),
value_type=dict(type='str', choices=['bool', 'float', 'int', 'string']),
value=dict(type='str'),
state=dict(type='str', required=True, choices=['absent', 'get', 'present']),