[fix] user file handling
This commit is contained in:
parent
4875717b94
commit
a1ff1026c0
2 changed files with 12 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"var_arc_core_user": "authelia",
|
||||
"var_arc_core_user": "arc",
|
||||
"var_arc_core_directory": "/opt/arc",
|
||||
"var_arc_core_git_repository_url": "https://forgejo.linke.sx/arc/core",
|
||||
"var_arc_core_git_reference": "master",
|
||||
"var_arc_core_git_reference": "main",
|
||||
"var_arc_core_server_host": "::",
|
||||
"var_arc_core_server_port": 7463,
|
||||
"var_arc_core_authentication_hash_salt": "REPLACE_ME",
|
||||
"var_arc_core_authelia_usersfile_path": "/var/authelia/users.yaml"
|
||||
"var_arc_core_authelia_usersfile_path": "/var/authelia/users.yml"
|
||||
}
|
||||
|
|
|
@ -49,6 +49,15 @@
|
|||
"cmd": "tools/deploy localhost --build-directory=/tmp/arc --target-directory={{var_arc_core_directory}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "adjust user file",
|
||||
"become": true,
|
||||
"ansible.builtin.file": {
|
||||
"path": "{{var_arc_core_authelia_usersfile_path}}",
|
||||
"group": "{{var_arc_core_authelia_user}}",
|
||||
"mode": "g+w"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "configuration",
|
||||
"become": true,
|
||||
|
|
Loading…
Add table
Reference in a new issue