mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 02:38:10 +02:00
- Rename sys-svc-webserver -> sys-svc-webserver-core - Rename sys-stk-front-pure -> sys-svc-webserver-https - Update includes, run_once flags, and docs across: * sys-ctl-mtn-cert-renew * sys-front-inj-* * sys-stk-front-proxy * sys-svc-certs * sys-svc-cln-domains * web-opt-rdr-* * web-svc-* - Remove redundant webserver include in web-opt-rdr-www - Fix documentation links Ref: ChatGPT conversation https://chatgpt.com/share/68d6cea2-3570-800f-acb3-c3277317f17b
25 lines
917 B
YAML
25 lines
917 B
YAML
- block:
|
|
- name: Include dependency 'sys-svc-webserver-core'
|
|
include_role:
|
|
name: sys-svc-webserver-core
|
|
when: run_once_sys_svc_webserver_core is not defined
|
|
- include_tasks: 01_deploy.yml
|
|
- include_tasks: utils/run_once.yml
|
|
when: run_once_sys_front_inj_desktop is not defined
|
|
|
|
# --- Build tiny inline initializer (CSP-hashed) ---
|
|
- name: "Load iFrame init code for '{{ application_id }}'"
|
|
set_fact:
|
|
iframe_init_code: "{{ lookup('template','iframe-init_one_liner.js.j2') }}"
|
|
|
|
- name: "Collapse iFrame init code into one-liner for '{{ application_id }}'"
|
|
set_fact:
|
|
iframe_init_code_one_liner: "{{ iframe_init_code | to_one_liner }}"
|
|
|
|
- name: "Append iFrame init CSP hash for '{{ application_id }}'"
|
|
set_fact:
|
|
applications: "{{ applications | append_csp_hash(application_id, iframe_init_code_one_liner) }}"
|
|
no_log: "{{ MASK_CREDENTIALS_IN_LOGS | bool }}"
|
|
changed_when: false
|
|
|