INSIGHT-MVP/repos/INSIGHT-Infra/ansible/inventory/group_vars/insight_dbs.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

37 lines
927 B
YAML

---
# Variablen für INSIGHT-DBS01
# PostgreSQL
postgresql_version: "16"
postgresql_data_dir: "/data/postgresql"
postgresql_port: 5432
postgresql_max_connections: 100 # PgBouncer übernimmt Pooling
postgresql_shared_buffers: "512MB"
postgresql_effective_cache_size: "2GB"
postgresql_work_mem: "8MB"
postgresql_maintenance_work_mem: "128MB"
# PostgreSQL Datenbanken (Secrets in vault.yml)
postgresql_databases:
- insight_core
- insight_crm
# PgBouncer
pgbouncer_port: 6432
pgbouncer_pool_mode: "transaction"
pgbouncer_default_pool_size: 20
pgbouncer_min_pool_size: 5
pgbouncer_reserve_pool_size: 5
pgbouncer_max_client_conn: 200
# Redis
redis_port: 6379
redis_data_dir: "/data/redis"
redis_maxmemory: "1gb"
redis_maxmemory_policy: "allkeys-lru"
# Data Disk (separate Volume für Daten)
# Wird von role/disk_setup gemountet
data_disk_device: "/dev/sdb"
data_disk_mountpoint: "/data"
data_disk_filesystem: "ext4"