infra/inventory/hosts.ini
jack 85a5857a5f
Some checks failed
CI/CD / syntax-check (push) Successful in 44s
CI/CD / deploy (push) Has been cancelled
infra: add visual-tools and visual-mon servers, fix inventory
- Add 2 new Timeweb VPS (1vCPU/2GB/30GB, 550₽/мес each):
  visual-tools  85.193.83.9   — Outline, Uptime Kuma
  visual-mon    188.225.79.34 — Grafana, Prometheus, Loki, AlertManager

- Restructure hosts.ini into groups: [main] [tools] [mon] [all_servers]
- Update bootstrap.yml to target all_servers group
- Fix vault.yml: replace invalid YAML escape \$ with single-quoted string
  in vault_authelia_admin_password_hash (caused YAML parse error)

Budget: ~1000 + 550 + 550 = 2100₽/мес (well within 3000₽ limit)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 05:28:07 +07:00

30 lines
1,009 B
INI

# ── VISUAL Infrastructure ─────────────────────────────────────────────────────
# main 87.249.49.32 — core apps (Traefik, Forgejo, Plane, Vaultwarden)
# tools 85.193.83.9 — team tools (Outline, Uptime Kuma)
# mon 188.225.79.34 — monitoring (Grafana, Prometheus, Loki, AlertManager)
[main]
main ansible_host=87.249.49.32
[tools]
tools ansible_host=85.193.83.9
[mon]
mon ansible_host=188.225.79.34
# ── Group for roles that run on ALL servers ───────────────────────────────────
[all_servers:children]
main
tools
mon
[all_servers:vars]
ansible_python_interpreter=/usr/bin/python3
ansible_user=deploy
# ── Legacy alias (keep for backwards compatibility with old playbooks) ────────
[servers]
main ansible_host=87.249.49.32
[servers:vars]
ansible_python_interpreter=/usr/bin/python3