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:
parent
cb5c57bcd5
commit
4190985995
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/postgresql_slot-fix-sslrootcert.yml
Normal file
2
changelogs/fragments/postgresql_slot-fix-sslrootcert.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- postgresql_slot - fixed sslrootcert mapping to psycopg2 connection string
|
|
@ -340,7 +340,7 @@ def main():
|
||||||
"login_password": "password",
|
"login_password": "password",
|
||||||
"port": "port",
|
"port": "port",
|
||||||
"sslmode": "ssl_mode",
|
"sslmode": "ssl_mode",
|
||||||
"ca_cert": "ssl_rootcert"
|
"ca_cert": "sslrootcert"
|
||||||
}
|
}
|
||||||
kw = dict((params_map[k], v) for (k, v) in module.params.items()
|
kw = dict((params_map[k], v) for (k, v) in module.params.items()
|
||||||
if k in params_map and v != '')
|
if k in params_map and v != '')
|
||||||
|
|
Loading…
Reference in a new issue