Implements hourly sync from macOS Photos Library to Immich: - osxphotos exports photos with metadata to staging directory - immich-cli uploads to Immich via Docker - LaunchAgent schedules hourly syncs (mcquack pattern) - API key stored securely from 1Password Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 lines
251 B
YAML
6 lines
251 B
YAML
---
|
|
- name: Reload immich-sync
|
|
ansible.builtin.shell: |
|
|
launchctl unload ~/Library/LaunchAgents/mcquack.eblume.immich-sync.plist 2>/dev/null || true
|
|
launchctl load ~/Library/LaunchAgents/mcquack.eblume.immich-sync.plist
|
|
changed_when: true
|