# Project Brief: BAB Backend Ansible **Created:** 2026-03-14 **Last Updated:** 2026-03-14 ## Project - **Name:** BAB (Borrow a Boat) Backend Ansible - **Type:** Ansible automation for Appwrite-based backend on RHEL 9 - **Host:** `bab1.mgmt.toal.ca` - **Production Runner:** AAP (Ansible Automation Platform) - **Dev Runner:** ansible-navigator with `ee-demo` execution environment ## Scope Full lifecycle management of an Appwrite backend: host provisioning, Nginx, Gitea Act Runner, database schema, seed data, user provisioning, TLS certificates, EDA rulebooks for Gitea webhooks and Alertmanager alerts, ServiceNow integration for incident/problem creation. ## Input Documents | Document | Path | Processed? | Summary At | |----------|------|-----------|------------| | Architecture reference | `docs/context/architecture.md` | Yes | self | ## Known Constraints - No inventory file in repo — dev inventory at `~/Dev/inventories/bab-inventory/`, prod managed by AAP - Sensitive files gitignored: `ansible.cfg`, `secrets.yml`, `.vault_password` - `provision_database.yml` idempotency is incomplete — noted in that file - Do not refer to AWX; production platform is AAP ## Project Phase Tracker | Phase | Status | Summary File | Date | |-------|--------|-------------|------| | Initial setup | Complete | — | 2026-03-14 |