mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00: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:
		| @@ -2,13 +2,16 @@ | ||||
|   include_tasks: "02_validate.yml" | ||||
|   when: MODE_ASSERT | bool | ||||
|  | ||||
| - name: "Include JS routines" | ||||
|   include_tasks: "03_javascript.yml" | ||||
|  | ||||
| - name: "load docker, proxy for '{{ application_id }}'" | ||||
|   include_role: | ||||
|     name: cmp-docker-proxy | ||||
|  | ||||
| - name: "Check if host-specific config.yaml exists in {{ config_inventory_path }}" | ||||
| - name: "Check if host-specific config.yaml exists in {{ DESKTOP_INVENTORY_CONFIG_PATH }}" | ||||
|   stat: | ||||
|     path: "{{ config_inventory_path }}" | ||||
|     path: "{{ DESKTOP_INVENTORY_CONFIG_PATH }}" | ||||
|   delegate_to: localhost | ||||
|   become: false | ||||
|   register: config_file | ||||
| @@ -42,20 +45,20 @@ | ||||
|  | ||||
| - name: Copy host-specific config.yaml if it exists | ||||
|   template: | ||||
|     src: "{{ config_inventory_path }}" | ||||
|     dest: "{{docker_repository_path}}/app/config.yaml" | ||||
|     src: "{{ DESKTOP_INVENTORY_CONFIG_PATH }}" | ||||
|     dest: "{{ docker_repository_path }}/app/config.yaml" | ||||
|   notify: docker compose up | ||||
|   when: config_file.stat.exists | ||||
|  | ||||
| - name: Copy default config.yaml from the role template if host-specific file does not exist | ||||
|   template: | ||||
|     src: "config.yaml.j2" | ||||
|     dest: "{{docker_repository_path}}/app/config.yaml" | ||||
|     dest: "{{ docker_repository_path }}/app/config.yaml" | ||||
|   notify: docker compose up | ||||
|   when: not config_file.stat.exists | ||||
|  | ||||
| - name: add docker-compose.yml | ||||
|   template: | ||||
|     src:  docker-compose.yml.j2  | ||||
|     dest: "{docker_compose.directories.instance}}docker-compose.yml" | ||||
|   notify: docker compose up | ||||
|     dest: "{{ docker_compose.directories.instance }}docker-compose.yml" | ||||
|   notify: docker compose up | ||||
|   | ||||
		Reference in New Issue
	
	Block a user