[int]
This commit is contained in:
parent
01a3fa5fb7
commit
d5ae0ac074
|
|
@ -1,16 +1,18 @@
|
|||
[
|
||||
{
|
||||
"name": "show vars",
|
||||
"when": "switch_show_vars",
|
||||
"ansible.builtin.debug": {
|
||||
"var": "vars.cfg_authelia_for_owncloud"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "configuration | client",
|
||||
"block": [
|
||||
{
|
||||
"name": "configuration | client | web",
|
||||
"when": "cfg_authelia_for_owncloud.web != None",
|
||||
"block": [
|
||||
{
|
||||
"name": "compute client secret hash",
|
||||
"become": true,
|
||||
"ansible.builtin.shell": {
|
||||
"cmd": "authelia crypto hash generate bcrypt --password {{cfg_authelia_for_owncloud.web.client_secret}} | cut --delimiter=' ' --fields='2-'"
|
||||
},
|
||||
"register": "temp_authelia_for_owncloud_web_client_secret_hashed"
|
||||
},
|
||||
{
|
||||
"name": "emplace",
|
||||
"become": true,
|
||||
|
|
@ -86,6 +88,8 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "configuration | apply",
|
||||
|
|
|
|||
Loading…
Reference in a new issue