Optimized tests für run once

This commit is contained in:
2025-08-12 02:38:37 +02:00
parent 82aaf7ad74
commit 1595a7c4a6
148 changed files with 1803 additions and 1147 deletions

View File

@@ -1,5 +1,3 @@
---
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Injects a JS snippet into HTML to notify parent windows of iframe location changes and force external links to new tabs."
@@ -14,15 +12,13 @@ galaxy_info:
license_url: "https://s.veen.world/cncl"
min_ansible_version: "2.9"
platforms:
- name: Archlinux
versions:
- rolling
- name: Archlinux
versions:
- rolling
galaxy_tags:
- nginx
- iframe
- javascript
- csp
- security
- postMessage
dependencies:
- srv-web-7-4-core
- nginx
- iframe
- javascript
- csp
- security
- postMessage

View File

@@ -1,4 +1,11 @@
# run_once_srv_web_7_7_inj_port_ui_desktop: deactivated
- name: Load former meta dependencies once
block:
- name: Include moved dependency 'srv-web-7-4-core'
include_role:
name: srv-web-7-4-core
- set_fact:
run_once_srv_web_7_7_inj_port_ui_desktop: true
when: run_once_srv_web_7_7_inj_port_ui_desktop is not defined
- name: "Load iFrame handler JS template for '{{ application_id }}'"
set_fact:
iframe_code: "{{ lookup('template','iframe-handler.js.j2') }}"