c182ecf516 
					 
					
						
						
							
							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  
						
						
					 
					
						2025-08-26 20:44:05 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						022800425d 
					 
					
						
						
							
							THE HUGE REFACTORING CALENDER WEEK 33; Optimized Matrix and during this updated variables, and implemented better reset and cleanup mode handling, also solved some initial setup bugs  
						
						 
						
						
						
						
					 
					
						2025-08-15 15:15:48 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c729edb525 
					 
					
						
						
							
							Refactor async task handling  
						
						 
						
						... 
						
						
						
						- Standardize async/poll usage with 'ASYNC_ENABLED | bool'
- Add async/poll parameters to Cloudflare, Nginx, Mailu, MIG, Nextcloud, and OpenLDAP tasks
- Update async configuration in 'group_vars/all/00_general.yml' to ensure boolean evaluation
- Allow CAA, cache, and DNS tasks to run asynchronously when enabled
https://chatgpt.com/share/689cd8cc-7fbc-800f-bd06-a667561573bf  
						
						
					 
					
						2025-08-13 21:56:26 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						597e9d5222 
					 
					
						
						
							
							Refactor async execution handling across LDAP and Nextcloud roles  
						
						 
						
						... 
						
						
						
						- Introduce global async configuration in group_vars/all/00_general.yml:
  - ASYNC_ENABLED (disabled in debug mode)
  - ASYNC_TIME (default 300s, omitted if async disabled)
  - ASYNC_POLL (0 for async fire-and-forget, 10 for sync mode)
- Replace hardcoded async/poll values with global vars in:
  - svc-db-openldap (03_users.yml, 04_update.yml)
  - web-app-mig (02_build_data.yml)
  - web-app-nextcloud (03_admin.yml, 04_system_config.yml, 05_plugin.yml,
    06_plugin_routines.yml, 07_plugin_enable_and_configure.yml)
- Guard changed_when and failed_when conditions to only evaluate in synchronous
  mode to avoid accessing undefined rc/stdout/stderr in async runs
  https://chatgpt.com/share/689cd8cc-7fbc-800f-bd06-a667561573bf  
						
						
					 
					
						2025-08-13 20:26:40 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4fa1c6cfbd 
					 
					
						
						
							
							ansible: quote file modes; keycloak: robust LDAP bind update + config cleanup  
						
						 
						
						... 
						
						
						
						Highlights
- Quote all file modes as strings ("0755"/"0770") across multiple roles to avoid YAML octal quirks and improve portability.
- Keycloak: introduce actions.{import_realm,update_ldap_bind} feature flags and wire them via vars/config.
- Implement idempotent LDAP bind updater (tasks/03_update-ldap-bind.yml):
  * kcadm login with no_log protection,
  * fetch LDAP UserStorage component by name,
  * compare current bindDn/bindCredential and update only when changed.
- Keycloak realm import template: keep providerId="ldap" and set name from keycloak_ldap_component_name.
- Centralize Keycloak readiness check in tasks/main.yml; remove duplicate waits from 02_update_client_redirects.yml and 04_ssh_public_key.yml.
- 01_import.yml: fix typo (keycloak), quote modes, tidy spacing, and replace Jinja-in-Jinja fileglob with concatenation.
- 02_update_client_redirects.yml: correct assert fail_msg filename; keep login-first flow.
- Minor template/vars tidy-ups (spacing, comments, consistent variable usage).
Files touched (excerpt)
- roles/*/*: replace 0755/0770 → "0755"/"0770"
- roles/web-app-keycloak/config/main.yml: add actions map
- roles/web-app-keycloak/vars/main.yml: unify Keycloak vars and feature flags
- roles/web-app-keycloak/tasks/{01_import,02_update_client_redirects,03_update-ldap-bind,04_ssh_public_key,main}.yml
- roles/web-app-keycloak/templates/{docker-compose.yml.j2,import/realm.json.j2}
https://chatgpt.com/share/689bda16-b138-800f-8258-e13f6d7d8239  
						
						
					 
					
						2025-08-13 02:20:38 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f72ac30884 
					 
					
						
						
							
							Replaced redirects by origine to raise performance  
						
						 
						
						
						
						
					 
					
						2025-08-11 19:44:14 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f62355e490 
					 
					
						
						
							
							Replaced nginx native with openresty for logout injection. Right now still buggy on nextcloud and espocrm  
						
						 
						
						
						
						
					 
					
						2025-07-24 03:19:16 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bfc42ce2ac 
					 
					
						
						
							
							Different little optimations  
						
						 
						
						
						
						
					 
					
						2025-07-17 04:23:05 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						169493179e 
					 
					
						
						
							
							Restructuring for new backup solution  
						
						 
						
						
						
						
					 
					
						2025-07-16 19:09:31 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						67122800f3 
					 
					
						
						
							
							Optimized openldap role  
						
						 
						
						
						
						
					 
					
						2025-07-14 12:00:18 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						732607bbb6 
					 
					
						
						
							
							Added provisioning switches for openldap to improve performance  
						
						 
						
						
						
						
					 
					
						2025-07-14 08:45:53 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f012b4fc78 
					 
					
						
						
							
							Restructured openldap tasks  
						
						 
						
						
						
						
					 
					
						2025-07-14 00:31:47 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						24d2c0edb5 
					 
					
						
						
							
							Solved variable but  
						
						 
						
						
						
						
					 
					
						2025-07-13 19:19:57 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						756597668c 
					 
					
						
						
							
							Semi bsr for applications[] to prevent heavy to debug bugs in j2 - part 1  
						
						 
						
						
						
						
					 
					
						2025-07-13 15:11:38 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3b03c5171d 
					 
					
						
						
							
							Renamed the mariadb, openldap and postgres database  
						
						 
						
						
						
						
					 
					
						2025-07-12 16:06:13 +02:00