Hashing method configurable.

This commit is contained in:
Andrea Dell'Amico 2024-05-13 18:00:17 +02:00
parent fc9fe846fb
commit 1c9f8f36a1
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 2 deletions

View File

@ -11,8 +11,7 @@
users: '{{ item.0.user }}'
address: '{{ item.1 }}'
databases: '{{ item.0.name }}'
# method: 'scram-sha-256'
method: 'md5'
method: '{{ item.0.hash_method | default("scram-sha-256") }}'
owner: root
group: postgres
mode: "0640"