[fix] postgresql-for-mas [fix] authelia-for-mas
This commit is contained in:
parent
71292dea52
commit
0a5acb7907
3 changed files with 10 additions and 10 deletions
|
@ -4,7 +4,7 @@
|
||||||
"become": true,
|
"become": true,
|
||||||
"ansible.builtin.template": {
|
"ansible.builtin.template": {
|
||||||
"src": "authelia-client-conf.json.j2",
|
"src": "authelia-client-conf.json.j2",
|
||||||
"dest": "/etc/authelia/conf.d/clients/vikunja.json"
|
"dest": "/etc/authelia/conf.d/clients/mas.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"var_postgresql_for_vikunja_username": "vikunja_user",
|
"var_postgresql_for_mas_username": "mas_user",
|
||||||
"var_postgresql_for_vikunja_password": "REPLACE_ME",
|
"var_postgresql_for_mas_password": "REPLACE_ME",
|
||||||
"var_postgresql_for_vikunja_schema": "vikunja"
|
"var_postgresql_for_mas_schema": "mas"
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
"become_user": "postgres",
|
"become_user": "postgres",
|
||||||
"community.postgresql.postgresql_user": {
|
"community.postgresql.postgresql_user": {
|
||||||
"state": "present",
|
"state": "present",
|
||||||
"name": "{{var_postgresql_for_vikunja_username}}",
|
"name": "{{var_postgresql_for_mas_username}}",
|
||||||
"password": "{{var_postgresql_for_vikunja_password}}"
|
"password": "{{var_postgresql_for_mas_password}}"
|
||||||
},
|
},
|
||||||
"environment": {
|
"environment": {
|
||||||
"PGOPTIONS": "-c password_encryption=scram-sha-256"
|
"PGOPTIONS": "-c password_encryption=scram-sha-256"
|
||||||
|
@ -29,8 +29,8 @@
|
||||||
"become_user": "postgres",
|
"become_user": "postgres",
|
||||||
"community.postgresql.postgresql_db": {
|
"community.postgresql.postgresql_db": {
|
||||||
"state": "present",
|
"state": "present",
|
||||||
"name": "{{var_postgresql_for_vikunja_schema}}",
|
"name": "{{var_postgresql_for_mas_schema}}",
|
||||||
"owner": "{{var_postgresql_for_vikunja_username}}"
|
"owner": "{{var_postgresql_for_mas_username}}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -39,9 +39,9 @@
|
||||||
"become_user": "postgres",
|
"become_user": "postgres",
|
||||||
"community.postgresql.postgresql_privs": {
|
"community.postgresql.postgresql_privs": {
|
||||||
"state": "present",
|
"state": "present",
|
||||||
"db": "{{var_postgresql_for_vikunja_schema}}",
|
"db": "{{var_postgresql_for_mas_schema}}",
|
||||||
"objs": "ALL_IN_SCHEMA",
|
"objs": "ALL_IN_SCHEMA",
|
||||||
"roles": "{{var_postgresql_for_vikunja_username}}",
|
"roles": "{{var_postgresql_for_mas_username}}",
|
||||||
"privs": "ALL",
|
"privs": "ALL",
|
||||||
"grant_option": true
|
"grant_option": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue