blumeops/ansible/roles/immich_sync/defaults/main.yml
Erich Blume 4e41e1f057 Add immich-sync ansible role for photo library sync
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>
2026-01-26 12:04:39 -08:00

20 lines
715 B
YAML

---
# Immich server URL
immich_sync_url: "https://photos.ops.eblu.me"
# Directory paths
immich_sync_export_dir: /Users/erichblume/Pictures/immich-export
immich_sync_log_dir: /Users/erichblume/Library/Logs
immich_sync_bin_dir: /Users/erichblume/bin
# Schedule: hourly (StartInterval in seconds)
immich_sync_interval_seconds: 3600
# osxphotos export options
immich_sync_export_edited: true # Export edited versions
immich_sync_export_originals: true # Also export originals (as sidecars)
immich_sync_update_mode: true # Only export new/changed photos
# immich-cli options
immich_sync_create_albums: true # Create albums from folder names
immich_sync_concurrency: 4 # Parallel uploads