From f392a17f5b37d4226e0dde641cbf1b17e41e7a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fra=C3=9F?= Date: Wed, 20 Mar 2024 00:11:13 +0100 Subject: [PATCH] [fix] role:postgresql-for-authelia:apt update und pg options --- ansible/roles/postgresql-for-authelia/tasks/main.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/roles/postgresql-for-authelia/tasks/main.json b/ansible/roles/postgresql-for-authelia/tasks/main.json index 0f053db..e2b3aa5 100644 --- a/ansible/roles/postgresql-for-authelia/tasks/main.json +++ b/ansible/roles/postgresql-for-authelia/tasks/main.json @@ -3,6 +3,7 @@ "name": "packages", "become": true, "ansible.builtin.apt": { + "update_cache": true, "pkg": [ "acl", "python3-psycopg2" @@ -17,6 +18,9 @@ "state": "present", "name": "{{var_postgresql_for_authelia_username}}", "password": "{{var_postgresql_for_authelia_password}}" + }, + "environment": { + "PGOPTIONS": "-c password_encryption=scram-sha-256" } }, {