mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 16:40:45 +02:00
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
Tests
This folder contains the tests for infinito