From 9c03561b1aceea773729d4b54550065f7a6df7e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fra=C3=9F?= Date: Wed, 20 Mar 2024 00:11:32 +0100 Subject: [PATCH] [fix] role:postgresql-for-hedgedoc:apt update und pg options --- ansible/roles/postgresql-for-hedgedoc/tasks/main.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/roles/postgresql-for-hedgedoc/tasks/main.json b/ansible/roles/postgresql-for-hedgedoc/tasks/main.json index 85431cc..3551075 100644 --- a/ansible/roles/postgresql-for-hedgedoc/tasks/main.json +++ b/ansible/roles/postgresql-for-hedgedoc/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_hedgedoc_username}}", "password": "{{var_postgresql_for_hedgedoc_password}}" + }, + "environment": { + "PGOPTIONS": "-c password_encryption=scram-sha-256" } }, {