Kevin Veen-Birkenbach 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
..
2025-07-16 23:01:25 +02:00
2025-07-12 16:27:23 +02:00
2025-07-17 00:34:54 +02:00
2025-05-20 00:13:45 +02:00
2025-07-06 21:44:50 +02:00