1
0
mirror of https://github.com/ansible-collections/community.general.git synced 2025-07-27 20:21:52 +03:00

postgresql_privs: add trust_input parameter (#177)

* postgresql_privs: add trust_input parameter

* add changelog fragment
This commit is contained in:
Andrew Klychkov
2020-04-20 09:01:42 +03:00
committed by GitHub
parent 25684ce2d7
commit 764cae9f33
6 changed files with 45 additions and 1 deletions

View File

@ -191,6 +191,9 @@ def check_input(module, *args):
if is_input_dangerous(e):
dangerous_elements.append(e)
elif elem is None or isinstance(elem, bool):
pass
else:
elem = str(elem)
if is_input_dangerous(elem):