mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 23:38:13 +02:00
Refactor and cleanup OIDC, desktop, and web-app roles
- Improved OIDC variable definitions (12_oidc.yml) - Added account/security/profile URLs - Restructured web-app-desktop tasks and JS handling - Introduced oidc.js and iframe.js with runtime loader - Fixed nginx.conf, LDAP, and healthcheck templates spacing - Improved Lua injection for CSP and snippets - Fixed typos (WordPress, receive, etc.) - Added silent-check-sso nginx location Conversation: https://chatgpt.com/share/68ae0060-4fac-800f-9f02-22592a4087d3
This commit is contained in:
19
roles/web-app-desktop/tasks/03_javascript.yml
Normal file
19
roles/web-app-desktop/tasks/03_javascript.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
- name: "load required 'web-svc-cdn' for {{ application_id }}"
|
||||
include_role:
|
||||
name: web-svc-cdn
|
||||
public: false
|
||||
when: run_once_web_svc_cdn is not defined
|
||||
|
||||
- name: Ensure {{ DESKTOP_JS_SERVER_DIR }} exists
|
||||
file:
|
||||
path: "{{ DESKTOP_JS_SERVER_DIR }}"
|
||||
state: directory
|
||||
owner: "{{ NGINX.USER }}"
|
||||
group: "{{ NGINX.USER }}"
|
||||
mode: '0755'
|
||||
|
||||
- name: "Include file specific JS Routines"
|
||||
include_tasks: "_javascript_file.yml"
|
||||
loop: "{{ DESKTOP_JS_FILES }}"
|
||||
loop_control:
|
||||
loop_var: js_file_name
|
Reference in New Issue
Block a user