mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
make compose-entity-purge removed the containers, volumes, databases and vhosts of an app but left its group in devices.yml. Inventory provisioning only merges groups, and the webserver health unit builds its domain list from the groups of the host, so every later full deploy of another app ended with failed=1: the unit kept probing the purged domains and the service terminator gave up after 25 retries. The make target now passes retire to the purge wrapper. With it the wrapper hands the inventory directory into the container, and the app orchestrator removes the purged application ids from devices.yml of the base inventory and of every round inventory next to it. The deploy flows that purge before they deploy the same apps again (purge=true, the purge between matrix rounds, the reinstall selection) call the wrapper without retire and keep the groups, because an update deploy needs the app in the inventory. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>