mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-30 08:06:47 +00:00
Added sorted domain list to logout to make it determenistic and prevent unnecessary handler triggers
This commit is contained in:
@@ -6,7 +6,7 @@ container_port: 8000
|
||||
# The following line leads to that services which arent listed directly in the inventory,
|
||||
# but are called over other roles, aren't listed here
|
||||
# @todo implement the calling of also dependency domains (propably the easiest to write a script which adds all dependencies to group_names)
|
||||
LOGOUT_DOMAINS: "{{ (applications | logout_domains(group_names)) | unique }}"
|
||||
LOGOUT_DOMAINS: "{{ (applications | logout_domains(group_names)) | unique | sort }}"
|
||||
LOGOUT_ORIGINS: "{{ LOGOUT_DOMAINS | map('regex_replace', '^(.*)$', WEB_PROTOCOL ~ '://\\1') | list }}"
|
||||
LOGOUT_CONNECT_SRC_OLD: "{{ applications | get_app_conf(application_id,'server.csp.whitelist.connect-src') }}"
|
||||
LOGOUT_CONNECT_SRC_NEW: "{{ (LOGOUT_CONNECT_SRC_OLD + LOGOUT_ORIGINS) | unique }}"
|
||||
Reference in New Issue
Block a user