mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-18 16:31:26 -07:00
postgresql_privs: add trust_input parameter (#177)
* postgresql_privs: add trust_input parameter * add changelog fragment
This commit is contained in:
parent
25684ce2d7
commit
764cae9f33
6 changed files with 45 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue