Add borgmatic role to ansible playbook
Manages scheduled LaunchAgent for daily backups at 2:00 AM. Borgmatic itself is installed via mise (pipx), not managed by ansible. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
6977197c98
commit
d761e61809
5 changed files with 60 additions and 0 deletions
5
ansible/roles/borgmatic/handlers/main.yml
Normal file
5
ansible/roles/borgmatic/handlers/main.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: reload borgmatic
|
||||
ansible.builtin.shell: |
|
||||
launchctl unload ~/Library/LaunchAgents/mcquack.eblume.borgmatic.plist 2>/dev/null || true
|
||||
launchctl load ~/Library/LaunchAgents/mcquack.eblume.borgmatic.plist
|
||||
Loading…
Add table
Add a link
Reference in a new issue