Some checks failed
CI / lint-and-test (pull_request) Successful in 1m21s
CI / ansible-validation (pull_request) Successful in 9m3s
CI / secret-scanning (pull_request) Successful in 3m19s
CI / dependency-scan (pull_request) Successful in 7m13s
CI / sast-scan (pull_request) Successful in 6m38s
CI / license-check (pull_request) Successful in 1m16s
CI / vault-check (pull_request) Failing after 6m40s
CI / playbook-test (pull_request) Successful in 9m28s
CI / container-scan (pull_request) Successful in 7m59s
CI / sonar-analysis (pull_request) Failing after 1m11s
CI / workflow-summary (pull_request) Successful in 1m11s
- 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
28 lines
729 B
Django/Jinja
28 lines
729 B
Django/Jinja
### Ansible-managed POTE environment
|
|
POTE_ENV="{{ pote_env }}"
|
|
|
|
# Database
|
|
DATABASE_URL="{{ pote_database_url }}"
|
|
|
|
# Email
|
|
SMTP_HOST="{{ pote_smtp_host }}"
|
|
SMTP_PORT="{{ pote_smtp_port }}"
|
|
SMTP_USER="{{ pote_smtp_user }}"
|
|
SMTP_PASSWORD="{{ pote_smtp_password }}"
|
|
FROM_EMAIL="{{ pote_from_email }}"
|
|
REPORT_RECIPIENTS="{{ pote_report_recipients }}"
|
|
|
|
# Monitoring / alerting (optional)
|
|
MARKET_MONITOR_TICKERS="{{ pote_market_tickers | default('') }}"
|
|
ALERT_MIN_SEVERITY="{{ pote_alert_min_severity | default('') }}"
|
|
|
|
# Logging
|
|
LOG_LEVEL="{{ pote_log_level }}"
|
|
LOG_FILE="{{ pote_log_file }}"
|
|
|
|
# Optional API keys
|
|
QUIVERQUANT_API_KEY="{{ pote_quiverquant_api_key | default('') }}"
|
|
FMP_API_KEY="{{ pote_fmp_api_key | default('') }}"
|
|
|
|
|