mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 08:30:46 +02:00
23 lines
850 B
YAML
23 lines
850 B
YAML
- block:
|
|
- name: Include dependency 'srv-web-7-4-core'
|
|
include_role:
|
|
name: srv-web-7-4-core
|
|
when: run_once_srv_web_7_4_core is not defined
|
|
- include_tasks: 01_deploy.yml
|
|
- include_tasks: utils/run_once.yml
|
|
when: run_once_srv_web_7_7_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) }}"
|
|
changed_when: false
|