mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-02 15:57:17 +00:00
fix(lint): shorten the Matomo cache reset name, read the Keycloak vars path from the SPOT
5b7284c4a4named its reset task with 81 characters, one over the limit of test_name_emoji_and_length, and754d35c4debuilt 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:
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 = {
|
||||
|
||||
Reference in new issue
Block a user