[fix] postgresql-for-mas [fix] authelia-for-mas

This commit is contained in:
roydfalk 2024-10-17 17:36:47 +02:00
parent 71292dea52
commit 0a5acb7907
3 changed files with 10 additions and 10 deletions

View file

@ -4,7 +4,7 @@
"become": true,
"ansible.builtin.template": {
"src": "authelia-client-conf.json.j2",
"dest": "/etc/authelia/conf.d/clients/vikunja.json"
"dest": "/etc/authelia/conf.d/clients/mas.json"
}
},
{

View file

@ -1,5 +1,5 @@
{
"var_postgresql_for_vikunja_username": "vikunja_user",
"var_postgresql_for_vikunja_password": "REPLACE_ME",
"var_postgresql_for_vikunja_schema": "vikunja"
"var_postgresql_for_mas_username": "mas_user",
"var_postgresql_for_mas_password": "REPLACE_ME",
"var_postgresql_for_mas_schema": "mas"
}

View file

@ -16,8 +16,8 @@
"become_user": "postgres",
"community.postgresql.postgresql_user": {
"state": "present",
"name": "{{var_postgresql_for_vikunja_username}}",
"password": "{{var_postgresql_for_vikunja_password}}"
"name": "{{var_postgresql_for_mas_username}}",
"password": "{{var_postgresql_for_mas_password}}"
},
"environment": {
"PGOPTIONS": "-c password_encryption=scram-sha-256"
@ -29,8 +29,8 @@
"become_user": "postgres",
"community.postgresql.postgresql_db": {
"state": "present",
"name": "{{var_postgresql_for_vikunja_schema}}",
"owner": "{{var_postgresql_for_vikunja_username}}"
"name": "{{var_postgresql_for_mas_schema}}",
"owner": "{{var_postgresql_for_mas_username}}"
}
},
{
@ -39,9 +39,9 @@
"become_user": "postgres",
"community.postgresql.postgresql_privs": {
"state": "present",
"db": "{{var_postgresql_for_vikunja_schema}}",
"db": "{{var_postgresql_for_mas_schema}}",
"objs": "ALL_IN_SCHEMA",
"roles": "{{var_postgresql_for_vikunja_username}}",
"roles": "{{var_postgresql_for_mas_username}}",
"privs": "ALL",
"grant_option": true
}