boma/roles
sjat 3a31b8e6f4 fix(reverse_proxy): bind-mount the Caddy config dir so reload sees changes
The Caddyfile was bind-mounted as a single file. ansible.builtin.template writes
atomically (temp + rename), so a re-render swaps the file's inode while the running
container keeps the old one — `caddy reload` then re-read stale config and silently
no-op'd ("config is unchanged"), so new routes never loaded. Surfaced deploying the
NetBird route: Caddy never requested its cert. Fix: render to ./caddy/Caddyfile and
mount the ./caddy DIRECTORY at /etc/caddy — directory mounts reflect inode swaps, so
graceful `caddy reload` works. Proven on askari: atomic replace in the host dir is
visible inside the running container.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 07:44:45 +02:00
..
base chore(roles): role/test hygiene from review (O16,O17,O25,O26) 2026-06-14 19:31:23 +02:00
dev_env chore(roles): role/test hygiene from review (O16,O17,O25,O26) 2026-06-14 19:31:23 +02:00
docker_host chore(roles): role/test hygiene from review (O16,O17,O25,O26) 2026-06-14 19:31:23 +02:00
netbird_coordinator docs(netbird): service-role standard files (SECURITY/VERIFY/ACCESS/BACKUP) 2026-06-15 18:01:29 +02:00
public_dns chore(kaizen): first /kaizen run — curate 12 friction signals 2026-06-14 21:46:23 +02:00
reverse_proxy fix(reverse_proxy): bind-mount the Caddy config dir so reload sees changes 2026-06-16 07:44:45 +02:00
README.md docs(review): 2026-06-14 repo audit — M4a doc drift + Traefik→Caddy lag 2026-06-14 18:37:54 +02:00

roles/

Local Ansible roles. No Galaxy roles — every role is written and maintained here (ADR-003). Scaffold new ones with make new-role NAME=<name>; never create the directory structure by hand.

Each role must have: a molecule/default/ scenario (Debian 13), a populated README.md, and a filled-in meta/main.yml. Conventions: CLAUDE.md and docs/runbooks/new-role.md.

Current state: base is partially built — its firewall (nftables) and hardening (SSH key-only + fail2ban) concerns are implemented, tested, and the hardening concern is applied to askari; the remaining concerns (auditd, packages, users) are not yet built. docker_host (Docker engine + Compose), reverse_proxy (Caddy), public_dns (Gandi), and dev_env are built. See STATUS.md for the authoritative breakdown.