Further app load optiomation due to 2.18->2.20 update

This commit is contained in:
2025-12-03 23:05:35 +01:00
parent 8fad77f17f
commit 7b262cf46e
8 changed files with 22 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
- name: Include web-opt-rdr-domains role for www-to-bare redirects
include_role:
name: web-opt-rdr-domains
include_tasks: "utils/load_app.yml"
vars:
load_app_id: web-opt-rdr-domains
redirect_domain_mappings: "{{ REDIRECT_WWW_DOMAINS | map('regex_replace', '^www\\.(.+)$', '{ source: \"www.\\1\", target: \"\\1\" }') | map('from_yaml') | list }}"
when: REDIRECT_WWW_FLAVOR == 'origin'