Fix borgmatic LaunchAgent to work with mise-installed binaries #2

Merged
eblume merged 2 commits from feature/fix-borgmatic-launchagent into main 2026-01-14 10:36:16 -08:00
Owner

Summary

  • Fix borgmatic LaunchAgent that was failing with exit code 78 (command not found)
  • Use mise x wrapper to run borgmatic, making it resilient to version updates
  • Add /opt/homebrew/bin to PATH so borg dependency is found
  • Add ansible tags to indri playbook for targeted role runs (--tags borgmatic, etc.)

Test plan

  • Verified borgmatic runs successfully via launchctl start mcquack.eblume.borgmatic
  • Confirmed new backup archive was created
  • Tested ansible dry-run with --tags borgmatic

🤖 Generated with Claude Code

## Summary - Fix borgmatic LaunchAgent that was failing with exit code 78 (command not found) - Use `mise x` wrapper to run borgmatic, making it resilient to version updates - Add `/opt/homebrew/bin` to PATH so borg dependency is found - Add ansible tags to indri playbook for targeted role runs (`--tags borgmatic`, etc.) ## Test plan - [x] Verified borgmatic runs successfully via `launchctl start mcquack.eblume.borgmatic` - [x] Confirmed new backup archive was created - [x] Tested ansible dry-run with `--tags borgmatic` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The LaunchAgent was failing because launchd runs with a minimal PATH
that doesn't include mise-installed binaries or homebrew. This adds:

- Use `mise x` wrapper to run borgmatic (survives version updates)
- Add /opt/homebrew/bin to PATH for borg dependency
- Add ansible tags to indri playbook for targeted role runs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add full example with heredoc for multi-line descriptions and note
the difference from gh CLI (--description vs --body).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
eblume merged commit 852329dd77 into main 2026-01-14 10:36:16 -08:00
Sign in to join this conversation.
No reviewers
No labels
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
eblume/blumeops!2
No description provided.