any.software.immich-podman: add role

This commit is contained in:
Jef Roosens 2026-02-15 22:59:33 +01:00
parent c4c5ab0e2a
commit 073127fcc0
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
9 changed files with 123 additions and 0 deletions

View file

@ -229,3 +229,27 @@
- role: any.software.recipya-podman
vars:
data_dir: '/data/recipya/data'
- name: Set up Immich
hosts: emma
tags: immich
roles:
- role: any.common.btrfs-subvolumes
vars:
subvolumes:
- filesystem_uuid: "{{ btrfs_nvme.uuid }}"
filesystem_path: "{{ btrfs_nvme.path }}"
name: "/@rootfs/data/immich/postgres"
- filesystem_uuid: "{{ btrfs_raid.uuid }}"
filesystem_path: "{{ btrfs_raid.path }}"
name: "/photos/immich-upload"
become: true
- role: any.software.immich-podman
vars:
immich_postgres_dir: '/data/immich/postgres'
immich_upload_dir: '/mnt/data1/photos/immich-upload'
immich_libraries:
- path: '/mnt/data1/photos/jef'
name: 'jef'
- path: '/mnt/data1/photos/lambroek'
name: 'lambroek'