infra/ansible/host_vars/postgres.yml
2025-08-14 08:03:14 -05:00

28 lines
No EOL
619 B
YAML

---
# Host-specific variables for postgres server (CM3588)
# Python interpreter
ansible_python_interpreter: /usr/bin/python3
# Override PostgreSQL memory settings if needed
# postgresql_config:
# shared_buffers: 8GB
# RAID configuration
# Two SSDs in RAID0 for performance
raid_devices:
- /dev/nvme0n1
- /dev/nvme1n1
# Network configuration
postgresql_listen_addresses: "'*'"
postgresql_allowed_networks:
- 10.0.0.0/8 # Adjust to your network
# Backup configuration
postgresql_backup_retention_days: 7
postgresql_backup_compress: true
# Monitoring
enable_monitoring: true
monitoring_email: root@localhost