boma/roles
sjat 3fe6f68316 feat(base): codify AI-worker NOPASSWD sudo (ADR-015 amended)
Add base__ai_worker_user var (default empty), a new operational_access.yml
task file that drops a validated sudoers file for the named user, and wire it
into base/tasks/main.yml after the hardening includes under the `users` tag.

Set base__ai_worker_user: claude in group_vars/control so that applying base
to ubongo is idempotent with the manual /etc/sudoers.d/claude-ai-worker drop-in
already in place. Password remains locked; NOPASSWD is the only sudo path;
actions are attributed via auditd (ADR-021).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 21:36:31 +02:00
..
base feat(base): codify AI-worker NOPASSWD sudo (ADR-015 amended) 2026-06-18 21:36:31 +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 feat(docker_host): container-forward nftables drop-in (reboot-safe Docker forwarding) 2026-06-18 16:57:47 +02:00
integration_test feat(integration_test): KVM/libvirt substrate role on the control node 2026-06-18 12:09:35 +02:00
netbird_coordinator fix(reverse_proxy,netbird_coordinator): create scaffold dirs in check mode 2026-06-17 17:49:47 +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): plain {% %} tags so the Caddyfile renders under ansible trim_blocks 2026-06-18 16:35:15 +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.