mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 22:37:29 +00:00
init.py prunes the include set twice: it drops the roles named by disable and then re-walks the dependency graph so providers that only existed to serve a disabled role are dropped as well. deploy/cli.py filtered only the named roles, so its deploy-id set stayed a superset of what the inventory actually contains. With disable=matomo,dashboard,prometheus,email,css the init side pruned svc-db-redis, svc-db-mariadb, web-svc-cdn, web-svc-file, web-svc-asset and web-svc-simpleicons; the deploy side still passed them to validate_application_ids, which aborted the run with 'not present in inventory' before any role deployed. Both sides now call prune_orphans_after_disable with the same round-merged services map, so the sets match. Document the two-sided contract in the README. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>