mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
12 lines
808 B
YAML
12 lines
808 B
YAML
---
|
|
application_id: "web-svc-logout"
|
|
container_port: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.ports.internal.http') }}"
|
|
http_port: "{{ lookup('config', application_id, 'services.logout.ports.local.http') }}"
|
|
entity_name: "{{ application_id | get_entity_name }}"
|
|
|
|
LOGOUT_DOMAINS: "{{ (lookup('applications') | logout_domains(group_names, lookup('domains'))) | unique | sort }}"
|
|
LOGOUT_URLS: "{{ LOGOUT_DOMAINS | map('regex_replace', '^(.*)$', lookup('tls', application_id, 'protocols.web') ~ '://\\1') | list }}"
|
|
LOGOUT_CONNECT_SRC_OLD: "{{ lookup('config', application_id, 'csp.whitelist.connect-src') }}"
|
|
LOGOUT_CONNECT_SRC_NEW: "{{ (LOGOUT_CONNECT_SRC_OLD + LOGOUT_URLS) | unique }}"
|
|
LOGOUT_CONTAINER: "{{ lookup('config', application_id, 'services.' ~ entity_name ~ '.name') }}"
|