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" } }, {