1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

postgresql_slot - sslrootcert fix (#55277)

This commit is contained in:
Andrey Klychkov 2019-04-15 12:56:25 +03:00 committed by John R Barker
parent cb5c57bcd5
commit 4190985995
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- postgresql_slot - fixed sslrootcert mapping to psycopg2 connection string

View file

@ -340,7 +340,7 @@ def main():
"login_password": "password",
"port": "port",
"sslmode": "ssl_mode",
"ca_cert": "ssl_rootcert"
"ca_cert": "sslrootcert"
}
kw = dict((params_map[k], v) for (k, v) in module.params.items()
if k in params_map and v != '')