2204 Commits

Author SHA1 Message Date
1ba50397db
Optimized performance by moving multiple similar when includes to own tasks file 2025-08-11 13:15:31 +02:00
6318611931
Add integration test to detect excessive duplicate 'when' conditions in tasks files
This test scans all .yml/.yaml files under any tasks/ directory and flags cases where the same
'when' condition appears on more than 3 tasks in the same file. Excessive duplication of identical
conditions can harm Ansible performance because the condition is re-evaluated for every task.

The test suggests replacing repeated conditions with an include_tasks call or a block guarded
by the condition to evaluate it only once.

https://chatgpt.com/share/6899c605-6f40-800f-a954-ccb62f8bbcf1
2025-08-11 12:29:57 +02:00
6e04ac58d2
Moved blocks to include_tasks to raise performance. Deploy was really slow 2025-08-11 12:28:31 +02:00
b6e571a496
Solved config path entry bug 2025-08-11 12:19:24 +02:00
21b6362bc1
test(integration): fail if reset.yml exists but is never included
Updated test_mode_reset.py to also validate roles that contain a reset
task file (*_reset.yml or reset.yml) even when no mode_reset keyword is
found. The test now:

- Detects roles with reset files but no include, and fails accordingly.
- Ignores commented include_tasks and when lines.
- Ensures exactly one non-commented include of the reset file exists.
- Requires that the include is guarded in the same task block by a
  when containing mode_reset | bool (with optional extra conditions).

This prevents silent omissions of reset task integration.

https://chatgpt.com/share/6899b745-7150-800f-98f3-ca714486f5ba
2025-08-11 11:27:15 +02:00
1fcf072257
Added performance violation test for blocks 2025-08-11 10:50:42 +02:00
ea0149b5d4
Replaced nextcloud-application by nextcloud container name 2025-08-11 10:41:06 +02:00
fe76fe1e62
Added correct flush parameters for docker compose 2025-08-11 10:33:48 +02:00
3431796283
Wrapped docker compose file routines tasks in block for docker compose 2025-08-11 10:20:06 +02:00
b5d8ac5462
Reactivated keycloak docker and webserver tasks and implemented correct logic for element and synapse redirect handling 2025-08-11 02:21:02 +02:00
5426014096
Optimized handlers order for mailu 2025-08-11 01:56:22 +02:00
a9d77de2a4
Optimized docker compose ensure logic 2025-08-11 01:26:31 +02:00
766ef8619f
Encapsulated cmp-docker-oauth2 into block 2025-08-11 01:25:31 +02:00
66013a4da3
Added line 2025-08-11 01:24:02 +02:00
1cb5a12d85
Encapsulated srv-web-7-7-letsencrypt into block 2025-08-11 01:23:00 +02:00
6e8ae793e3
Added auto setting for redirect urls for keycloak clients. Element and Synapse still need to be mapped 2025-08-11 00:17:18 +02:00
0746acedfd
Introduced run_once_ block for srv-web-6-6-tls-renew 2025-08-10 21:50:39 +02:00
f5659a44f8
Optimized blocks in roles/srv-proxy-6-6-domain/tasks/main.yml 2025-08-10 18:31:12 +02:00
77816ac4e7
Solved bkp_docker_to_local_pkg bug 2025-08-10 18:17:52 +02:00
8779afd1f7
Removed beep backup sound 2025-08-10 17:54:14 +02:00
0074bcbd69
Implemented functioning warning sound 2025-08-10 17:39:33 +02:00
149c563831
Optimized logic for database backups and integrated test to verify that database feature is used correct 2025-08-10 15:06:37 +02:00
e9ef62b95d
Optimized cloudflare purge and cache dev mdoe 2025-08-10 14:18:29 +02:00
aeaf84de6f
Deactivated central_database for lam 2025-08-10 13:42:52 +02:00
fdceb0f792
Implmented dev mode für cloudflare 2025-08-10 12:18:17 +02:00
2fd83eaf55
Keep logs during deploy cleanup 2025-08-10 12:01:34 +02:00
b880b98ac3
Added hints for infinito modes 2025-08-10 11:34:33 +02:00
acfb1a2ee7
Made logs folder permanent 2025-08-10 11:31:56 +02:00
4885ad7eb4
Overwritte handlers for CDN 2025-08-09 18:08:30 +02:00
d9669fc6dd
Added test to verify that no handlers are skipped due to when condition 2025-08-09 15:24:47 +02:00
8e0341c120
Solved some handler reloading bugs 2025-08-08 19:33:16 +02:00
22c8c395f0
Refactored handlers loading 2025-08-08 19:01:12 +02:00
aae69ea15b
Ensure that keycloak is up 2025-08-08 17:25:31 +02:00
c7b25ed093
Normalized run_once_, made openresty handlers without when aviable and forced flush in run_once when blocks to avoid handlers with when conditions 2025-08-08 15:32:26 +02:00
e675aa5886
Wrapped in block to avoid multiple similar when conditions for 7-4 web core 2025-08-08 12:25:09 +02:00
14f07adc9d
Wrapped in block to avoid multiple similar when conditions 2025-08-08 12:14:01 +02:00
dba12b89d8
Normalized cmp-docker-proxy include 2025-08-08 12:02:14 +02:00
0607974dac
Patched url in moodle config 2025-08-08 11:46:23 +02:00
e8fa22cb43
Normalized variable 2025-08-08 11:27:34 +02:00
eedfe83ece
Solved missing redirect bug 2025-08-08 11:03:43 +02:00
9f865dd215
Removed catetory domain präfix from redirect domains 2025-08-08 09:47:31 +02:00
220e3e1c60
Optimized namings in moodle 2025-08-08 09:12:50 +02:00
2996c7cbb6
Added default value for internet interfadces 2025-08-08 08:39:40 +02:00
59bd4ca8eb
Added handling of multiple domains and used get_url function in mailu 2025-08-08 08:39:09 +02:00
da58691d25
Added comments why autoflush isn't possible 2025-08-08 08:37:52 +02:00
c96f278ac3
Added autoflush to mastodon für docker 2025-08-08 08:37:12 +02:00
2715479c95
Assert just applications which are in group_names 2025-08-08 08:36:07 +02:00
926640371f
Optimized description 2025-08-08 08:35:16 +02:00
cdc97c8ba5
Raised certbot_dns_propagation_wait_seconds to 5min 2025-08-08 08:34:49 +02:00
4124e97aeb
Added domain validator for web- apps and services for port-ui 2025-08-07 20:37:47 +02:00