From 1c9f8f36a19176ea836224c562ece0ee82fb5cdc Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 13 May 2024 18:00:17 +0200 Subject: [PATCH] Hashing method configurable. --- tasks/configure-access.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"