Fix Linuxbrew inventory PATH and bound formula resolver output #754

Closed
opened 2026-08-05 02:17:44 +00:00 by coilyco-ops · 0 comments
Owner

Outcome

Fix the source-aware Homebrew removal path added by #752 so it runs on Linuxbrew hosts and produces bounded Ansible output.

Evidence

The first fleet apply after #752 exposed two defects:

  • brew list --formula --full-name inherited an Ansible PATH without Linuxbrew on ser8 and failed with ENOENT.
  • The resolver iterated the Cartesian product of installed and absent formulae, printing a skipped row for every non-match.

Acceptance

  • The installed-formula inventory uses the declared clean Homebrew PATH on macOS and Linux.
  • Resolution loops once per absent declaration rather than once per installed-formula pair.
  • Qualified declarations still match only the exact installed source.
  • Bare declarations still match every installed source with the same basename.
  • Ward-routed Ansible validation and pre-commit pass.
## Outcome Fix the source-aware Homebrew removal path added by #752 so it runs on Linuxbrew hosts and produces bounded Ansible output. ## Evidence The first fleet apply after #752 exposed two defects: * `brew list --formula --full-name` inherited an Ansible PATH without Linuxbrew on ser8 and failed with `ENOENT`. * The resolver iterated the Cartesian product of installed and absent formulae, printing a skipped row for every non-match. ## Acceptance * The installed-formula inventory uses the declared clean Homebrew PATH on macOS and Linux. * Resolution loops once per absent declaration rather than once per installed-formula pair. * Qualified declarations still match only the exact installed source. * Bare declarations still match every installed source with the same basename. * Ward-routed Ansible validation and pre-commit pass.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/infrastructure#754
No description provided.