INSIGHT-MVP/repos/INSIGHT-Infra/ansible/inventory/hosts.yml
Thomas Reitz 36196457ea feat(infra): vollständige Ansible-Struktur Phase 1
- Alle Ansible-Rollen erstellt: common, disk_setup, docker, postgresql,
  pgbouncer, redis, nginx, zabbix_agent
- ansible.cfg mit Pipeline-Optimierung
- hosts.yml mit echten IPs (DBS01=.20, APS01=.21, WEB01=.22)
- group_vars für alle Server (dbs, aps, web)
- Zabbix-Server auf sentinel.xinion.de gesetzt
- vault.yml.example als Vorlage für Secrets
- site.yml nutzt import_playbook (DBS01→APS01→WEB01)
- BRIEFING.md für alle 4 Repos angelegt (Platform, Apps, Infra, Shared)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 15:23:29 +01:00

35 lines
1 KiB
YAML

---
# INSIGHT Ansible Inventory
# IPs eintragen sobald Server provisioniert sind
# Confluence: https://xinion.atlassian.net/wiki/x/FYCVEw
all:
vars:
ansible_user: ansible
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
children:
insight_dbs:
hosts:
insight-dbs01:
ansible_host: 172.20.10.20
ansible_ssh_private_key_file: ~/.ssh/insight/ansible_dbs01_ed25519
# Proxmox VM: 1020
# Rolle: PostgreSQL 16 + PgBouncer + Redis 7
# Data-Disk: /dev/sdb → /data (250 GB)
insight_aps:
hosts:
insight-aps01:
ansible_host: 172.20.10.21
ansible_ssh_private_key_file: ~/.ssh/insight/ansible_aps01_ed25519
# Proxmox VM: 1021
# Rolle: Docker (core-service, crm-service)
insight_web:
hosts:
insight-web01:
ansible_host: 172.20.10.22
ansible_ssh_private_key_file: ~/.ssh/insight/ansible_web01_ed25519
# Proxmox VM: 1022
# Rolle: Nginx + React Build