Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelogs/fragments/0-postgresql_privs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- postgresql_privs - fix a breaking change related to handling the ``password`` argument (https://github.com/ansible-collections/community.postgresql/pull/463).
2 changes: 1 addition & 1 deletion plugins/modules/postgresql_privs.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def __init__(self, params, module):
"ca_cert": "sslrootcert"
}

conn_params = get_conn_params(module, module.params, warn_db_default=False)
conn_params = get_conn_params(module, params.__dict__, warn_db_default=False)

sslrootcert = params.ca_cert
if psycopg2.__version__ < '2.4.3' and sslrootcert is not None:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/targets/postgresql_user/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# and should not be used as examples of how to write Ansible roles #
####################################################################

# Initial CI tests of postgresql_user module
# Initial CI tests of postgresql_user module:
- import_tasks: postgresql_user_initial.yml
when: postgres_version_resp.stdout is version('9.4', '>=')

Expand Down