mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
fix(svc-ai-searxng): register the compose handlers before notifying them
The role renders its settings.yml, which notifies compose-up, without ever loading the sys-svc-compose handlers. A local deploy hides that because a neighbouring role in the same play registers them first; a CI row deploys the role alone and the play dies with "The requested handler 'compose-up' was not found". The loader moves in front of the first template, the way svc-db-qdrant already does it and the way 95186163aa fixed the same class for sys-stk-backend.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2d3c750962
commit
bb78ab3fb8
1 file changed
+4
@@ -1,6 +1,10 @@
|
||||
---
|
||||
- include_tasks: utils/once/flag.yml
|
||||
|
||||
- include_tasks: utils/load/handlers.yml
|
||||
vars:
|
||||
handler_role_name: "sys-svc-compose"
|
||||
|
||||
- name: "📄 Render the search engine settings (local + swarm peers)"
|
||||
ansible.builtin.include_tasks:
|
||||
file: "{{ lookup('path_absolute', 'roles/sys-svc-compose/tasks/utils/render_replicated_templates.yml') }}"
|
||||
|
||||
Reference in new issue
Block a user