diff --git a/changelogs/fragments/postgresql_slot-fix-sslrootcert.yml b/changelogs/fragments/postgresql_slot-fix-sslrootcert.yml new file mode 100644 index 0000000000..868a7d081f --- /dev/null +++ b/changelogs/fragments/postgresql_slot-fix-sslrootcert.yml @@ -0,0 +1,2 @@ +bugfixes: + - postgresql_slot - fixed sslrootcert mapping to psycopg2 connection string diff --git a/lib/ansible/modules/database/postgresql/postgresql_slot.py b/lib/ansible/modules/database/postgresql/postgresql_slot.py index ec306991c5..de08337731 100644 --- a/lib/ansible/modules/database/postgresql/postgresql_slot.py +++ b/lib/ansible/modules/database/postgresql/postgresql_slot.py @@ -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 != '')