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
parent 178209be27
commit 1ea080762b
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']),