fix(authelia): correctly template session.redis config section, fix container restarts recreating the container
This commit is contained in:
parent
43d0dc171a
commit
d3d6f89949
@ -4,5 +4,7 @@
|
||||
docker_container:
|
||||
name: "{{ authelia_container_name }}"
|
||||
state: started
|
||||
restart: yes
|
||||
restart: true
|
||||
comparisons:
|
||||
'*': ignore
|
||||
listen: restart-authelia
|
||||
|
@ -170,7 +170,12 @@ authelia_config_access_control:
|
||||
default_policy: "{{ authelia_config_access_control_default_policy }}"
|
||||
networks: "{{ authelia_config_access_control_networks }}"
|
||||
rules: "{{ authelia_config_access_control_rules }}"
|
||||
authelia_config_session:
|
||||
authelia_config_session: >-2
|
||||
{{ authelia_config_session_base
|
||||
| combine(({'redis': authelia_config_session_redis}
|
||||
if authelia_config_session_redis_host else {}), recursive=true)
|
||||
}}
|
||||
authelia_config_session_base:
|
||||
name: "{{ authelia_config_session_name }}"
|
||||
domain: "{{ authelia_config_session_domain }}"
|
||||
same_site: "{{ authelia_config_session_same_site }}"
|
||||
|
Loading…
Reference in New Issue
Block a user