mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
postgres modules: move params mapping from main to connect_to_db (#55549)
* params mapping to connect_to_db
This commit is contained in:
committed by
John R Barker
parent
03cac394cc
commit
2250257809
@@ -486,7 +486,7 @@ def main():
|
||||
|
||||
if not raw_connection:
|
||||
try:
|
||||
pgutils.ensure_libs(sslrootcert=module.params.get('ca_cert'))
|
||||
pgutils.ensure_libs(module)
|
||||
db_connection = psycopg2.connect(database=maintenance_db, **kw)
|
||||
|
||||
# Enable autocommit so we can create databases
|
||||
|
||||
Reference in New Issue
Block a user