infra/ansible/host_vars/postgres.yml
2025-07-27 11:35:59 -05:00

28 lines
No EOL
648 B
YAML

---
# Host-specific variables for postgres server (CM3588)
# Python interpreter
ansible_python_interpreter: /usr/bin/python3.11
# Override PostgreSQL memory settings if needed
# postgresql_config:
# shared_buffers: 8GB
# RAID configuration
# Comment out for auto-detection or specify actual device names
# raid_devices:
# - /dev/sda
# - /dev/sdb
# 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