fix(lint): shorten the Matomo cache reset name, read the Keycloak vars path from the SPOT

5b7284c4a4 named its reset task with 81 characters, one over the limit of
test_name_emoji_and_length, and 754d35c4de built the path to
roles/web-app-keycloak/vars/main.yml with a pathlib chain that test_file_spot
requires to come from ROLE_FILE_VARS_MAIN. Both commits went in without the
lint suite. The task keeps its behaviour under a 70-character name, the test
reads the same file through the constant. make test-lint: 577 passed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 5.5 committed 2026-10-25 13:39:42 +01:00
1 parent aadc96561b
commit 35722aa3bc
2 files changed
+3 -2

No files matched your search

@@ -3,11 +3,12 @@ import unittest
from jinja2 import Environment
from utils.cache.yaml import load_yaml_any
from utils.roles.mapping import ROLE_FILE_VARS_MAIN
from . import PROJECT_ROOT
ROLE = PROJECT_ROOT / "roles" / "web-app-keycloak"
VARS = ROLE / "vars" / "main.yml"
VARS = ROLE / ROLE_FILE_VARS_MAIN
ROUTINES = ROLE / "tasks" / "03_manager_ops" / "update_routines.yml"
REALM = {