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

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

* Add changelog fragment.

(cherry picked from commit 1ea080762b)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2021-03-12 09:17:05 +01:00
committed by GitHub
parent 57fa6526c4
commit ea313503dd
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']),