2226 Commits

Author SHA1 Message Date
1595a7c4a6
Optimized tests für run once 2025-08-12 02:38:37 +02:00
82aaf7ad74
fixed move_unnecessary_dependencies.py 2025-08-11 23:41:48 +02:00
7e4a1062af
Added draft for fixing dependencies 2025-08-11 23:16:32 +02:00
d5e5f57f92
Optimized openproject for new repository structure 2025-08-11 23:03:24 +02:00
f671678720
Add integration test to detect unnecessary meta dependencies
This test scans all roles/*/meta/main.yml for meta dependencies that are
likely unnecessary and could be replaced with guarded include_role/import_role
calls to improve performance.

A dependency is flagged as unnecessary when:
- The consumer role does not use provider variables in defaults/vars/handlers
  (no early variable requirement), and
- Any usage of provider variables or handler notifications in tasks occurs
  only after an explicit include/import of the provider in the same file,
  or there is no usage at all.

Purpose:
Helps reduce redundant parsing/execution of roles and improves Ansible
performance by converting heavy global dependencies into conditional,
guarded includes where possible.

https://chatgpt.com/share/689a59ee-52f4-800f-8349-4f477dc97c7c
2025-08-11 23:00:49 +02:00
2219696c3f
Removed redirects for performance 2025-08-11 22:21:17 +02:00
fbaee683fd
Removed dependencies and used include_roles to raise performance and make infinito to a racing car 2025-08-11 21:56:34 +02:00
b301e58ee6
Removed redirect to safe performance 2025-08-11 21:48:33 +02:00
de15c42de8
Added database patch to wordpress 2025-08-11 21:46:29 +02:00
918355743f
Updated ansible.cfg for better performance and tracking 2025-08-11 21:00:33 +02:00
f6e62525d1
Optimized wordpress variables 2025-08-11 20:00:48 +02:00
f72ac30884
Replaced redirects by origine to raise performance 2025-08-11 19:44:14 +02:00
1496f1de95
Replaced community.general.pacman: by pacman to raise performance 2025-08-11 19:33:28 +02:00
38de10ba65
Solved bigbluebutton admin creation bug 2025-08-11 19:24:08 +02:00
e8c19b4b84
Implemented correct path replace not just for context: but also for build: paths 2025-08-11 18:46:02 +02:00
b0737b1cdb
Merge branch 'master' of github.com:kevinveenbirkenbach/cymais 2025-08-11 14:31:19 +02:00
e4cc928eea
Encapsulated SAN in block with when 2025-08-11 14:31:10 +02:00
c9b2136578
Merge pull request #5 from ocrampete16/logs-dir
Create logs dir to prevent failing test
2025-08-11 14:15:39 +02:00
5709935c92
Improved performance by avoiding the load of roles which are anyhow just protected by one condition 2025-08-11 13:52:24 +02:00
c7badc608a
Solved typo 2025-08-11 13:25:32 +02:00
0e59d35129
Update RunOnceSchemaTest to skip files with deactivated run_once variables via comment https://chatgpt.com/share/6899d297-4bec-800f-a748-6816398d8c7e 2025-08-11 13:23:20 +02:00
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
Marco Petersen
21eb614912 Create logs dir to prevent failing test 2025-08-10 12:50:13 +03: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