- Add roles/pote: Python/venv deployment role with PostgreSQL, cron jobs - Add playbooks/app/: Proxmox app stack provisioning and configuration - Add roles/app_setup: Generic app deployment role (Node.js/systemd) - Add roles/base_os: Base OS hardening role - Enhance roles/proxmox_vm: Split LXC/KVM tasks, improve error handling - Add IP uniqueness validation: Preflight check for duplicate IPs within projects - Add Proxmox-side IP conflict detection: Check existing LXC net0 configs - Update inventories/production/group_vars/all/main.yml: Add pote project config - Add vault.example.yml: Template for POTE secrets (git key, DB, SMTP) - Update .gitignore: Exclude deploy keys, backup files, and other secrets - Update documentation: README, role docs, execution flow guides Security: - All secrets stored in encrypted vault.yml (never committed in plaintext) - Deploy keys excluded via .gitignore - IP conflict guardrails prevent accidental duplicate IP assignments
14 lines
291 B
Django/Jinja
14 lines
291 B
Django/Jinja
# Ansible-managed environment file for {{ app_env }}
|
|
# Loaded by systemd units and deploy script.
|
|
|
|
# Common
|
|
APP_ENV={{ app_env }}
|
|
BACKEND_PORT={{ app_backend_port }}
|
|
FRONTEND_PORT={{ app_frontend_port }}
|
|
|
|
{% for k, v in (app_env_vars | default({})).items() %}
|
|
{{ k }}={{ v }}
|
|
{% endfor %}
|
|
|
|
|