[task-183] [mod] authelia-for-vikunja
This commit is contained in:
parent
0eaf14609c
commit
d690a6454a
2 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,12 @@
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"name": "configuration | compute client secret hash",
|
||||||
|
"become": true,
|
||||||
|
"ansible.builtin.shell": {
|
||||||
|
"cmd": "authelia crypto hash generate bcrypt --password {{var_authelia_for_vikunja_client_secret}} | cut --delimiter=' ' --fields='2-'"
|
||||||
|
},
|
||||||
|
"register": "temp_authelia_for_vikunja_client_secret_hashed"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "configuration | emplace",
|
"name": "configuration | emplace",
|
||||||
"become": true,
|
"become": true,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"client_id": "{{var_authelia_for_vikunja_client_id}}",
|
"client_id": "{{var_authelia_for_vikunja_client_id}}",
|
||||||
"client_secret": "{{var_authelia_for_vikunja_client_secret}}",
|
"client_secret": "{{temp_authelia_for_vikunja_client_secret_hashed.stdout}}",
|
||||||
"client_name": "Vikunja",
|
"client_name": "Vikunja",
|
||||||
"public": false,
|
"public": false,
|
||||||
"authorization_policy": "one_factor",
|
"authorization_policy": "one_factor",
|
||||||
|
|
Loading…
Add table
Reference in a new issue