Files
server-infra/playbooks/site.yml
westfarn f1f96e49b1
Sync runner checkout / sync (pull_request) Successful in 6s
Deploy SearxNG on ai-server-4080 for chat_backend grounded search (#10).
Add roles/searxng (compose + JSON-enabled settings), gate with searxng_stack
on ai-server-4080, open UFW 8088/tcp from the LAN. Port 8088 avoids the
dta_webapp :8080 clash; chat_backend must use SEARXNG_BASE_URL=http://10.0.0.128:8088.
2026-08-02 13:23:22 -05:00

36 lines
824 B
YAML

---
# Order: base OS → central Loki/Prometheus/Grafana → Alloy agents.
# Alloy on every host pushes to the stack on ai-server-4080, so the stack
# must exist before (or at least as Alloy starts against) those endpoints.
- name: Provision webservers (base)
hosts: webservers
become: true
roles:
- common
- ufw
- docker
- nodejs
- gitea-key
- tianji
- name: Provision central observability stack
hosts: ai-server-4080
become: true
roles:
- role: observability
when: observability_stack | default(false) | bool
- name: Provision SearxNG (chat_backend grounded search)
hosts: ai-server-4080
become: true
roles:
- role: searxng
when: searxng_stack | default(false) | bool
- name: Provision Alloy agents
hosts: webservers
become: true
roles:
- alloy