[task-183] [mod] authelia-for-wiki_js

This commit is contained in:
roydfalk 2024-10-26 10:10:47 +02:00
parent 13561a2019
commit 05d1c0a8c1
2 changed files with 2 additions and 4 deletions

View file

@ -5,9 +5,7 @@
"ansible.builtin.command": { "ansible.builtin.command": {
"cmd": "authelia crypto hash generate bcrypt --password {{var_authelia_for_wiki_js_client_secret}}" "cmd": "authelia crypto hash generate bcrypt --password {{var_authelia_for_wiki_js_client_secret}}"
}, },
"set_fact": { "register": "temp_authelia_for_wiki_js_client_secret_hashed"
"temp_authelia_for_wiki_js_client_secret_hashed": "{{ command_output.stdout }}"
}
}, },
{ {
"name": "configuration | emplace", "name": "configuration | emplace",

View file

@ -1,6 +1,6 @@
{ {
"client_id": "{{var_authelia_for_wiki_js_client_id}}", "client_id": "{{var_authelia_for_wiki_js_client_id}}",
"client_secret": "{{temp_authelia_for_wiki_js_client_secret_hashed}}", "client_secret": "{{temp_authelia_for_wiki_js_client_secret_hashed.stdout}}",
"client_name": "Wiki.js", "client_name": "Wiki.js",
"public": false, "public": false,
"authorization_policy": "one_factor", "authorization_policy": "one_factor",