# `pote` Deploys the **POTE** project as a Python/venv application (no HTTP services required) and schedules cron jobs. ## What it does - Installs required system packages (git, python3.11/venv, build deps, postgresql server/client) - Ensures a dedicated OS user exists (default: `poteapp`) - Creates PostgreSQL database and user - Clones/updates the repo from an SSH remote using a vault-backed private key - Creates a Python virtualenv and installs from `pyproject.toml` (editable mode) - Renders an environment file (default: `{{ pote_app_dir }}/.env`) - Runs Alembic database migrations - Installs cron jobs (daily/weekly/health-check) ## Key variables See `defaults/main.yml`. Common inputs: - `pote_git_repo`, `pote_git_branch` - `pote_git_ssh_key` (set `vault_pote_git_ssh_key` in your vault) - `pote_user`, `pote_app_dir`, `pote_venv_dir` - `pote_db_*`, `pote_smtp_*` - `pote_enable_cron`, `pote_*_time`, `pote_*_job`