diff --git a/tasks/configure-access.yml b/tasks/configure-access.yml index e7c32ce..b70a0ec 100644 --- a/tasks/configure-access.yml +++ b/tasks/configure-access.yml @@ -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"