[task-183] [mod] authelia-for-wiki_js
This commit is contained in:
parent
6aa922a20a
commit
09e667a34d
2 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,14 @@
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"name": "configuration | compute client secret hash",
|
||||||
|
"become" true,
|
||||||
|
"ansible.builtin.command": {
|
||||||
|
"cmd": "authelia crypto hash generate bcrypt --password {{var_authelia_for_wiki_js_client_secret}}"
|
||||||
|
},
|
||||||
|
"set_fact": {
|
||||||
|
"temp_authelia_for_wiki_js_client_secret_hashed": "{{ command_output.stdout }}"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "configuration | emplace",
|
"name": "configuration | emplace",
|
||||||
"become": true,
|
"become": true,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"client_id": "{{var_authelia_for_wiki_js_client_id}}",
|
"client_id": "{{var_authelia_for_wiki_js_client_id}}",
|
||||||
"client_secret": "{{var_authelia_for_wiki_js_client_secret}}",
|
"client_secret": "{{temp_authelia_for_wiki_js_client_secret_hashed}}",
|
||||||
"client_name": "Wiki.js",
|
"client_name": "Wiki.js",
|
||||||
"public": false,
|
"public": false,
|
||||||
"authorization_policy": "one_factor",
|
"authorization_policy": "one_factor",
|
||||||
|
|
Loading…
Add table
Reference in a new issue