mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
user_token.yml moved to tasks/utils/manage/ during the task-file renumbering, but its include of create_user_token.yml kept a single '../', resolving to the non-existent tasks/utils/05_manage_user/ and collapsing to /opt/src/05_manage_user/ at deploy time. Every app that pulls in mailu (fusiondirectory, kix, odoo, openproject, penpot, pgadmin, peertube, xwiki, logout) failed on it. Use '../../' to reach tasks/05_manage_user/create_user_token.yml. Add tests/lint/ansible/tasks/test_relative_includes_resolve.py to guard the class: it parses every role tasks file and asserts each relative include_tasks/import_tasks/include_vars path resolves through ansible's search bases, so a moved task or vars file can no longer leave a dangling include that only surfaces at deploy time. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>