Kevin Veen-Birkenbach 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
..
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