Files
computer-playbook/tests/unit/python/roles/web-app-matrix
kevinveenbirkenbachandClaude Opus 5 7e5c613ddf test(matrix): build the vars path from the role-file constant
d5fc099166 spelled out roles/web-app-matrix/vars/main.yml, which test_file_spot rejects: utils.roles.mapping is the single place that knows the role layout, and every construction of such a path has to read it from there.

The role directory is now a single name and ROLE_FILE_VARS_MAIN is appended to it, so the templates path and the vars path share one root and the role name appears once.

The violation shipped because that commit was gated by the two affected unit tests rather than by make test, which is where the lint runs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-12 09:55:35 +02:00
..