refactor: update service configurations and remove karakeep service
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 47m54s
Nix Format Check / check-format (push) Failing after 37s
Python Lint Check / check-python (push) Has been cancelled

This commit is contained in:
2025-07-21 16:43:00 +02:00
parent 9a2952e192
commit 2a8dad2e20
14 changed files with 38 additions and 135 deletions

View File

@@ -14,9 +14,9 @@ services:
volumes:
- {{ plex_data_dir }}/config:/config
- {{ plex_data_dir }}/transcode:/transcode
- {{ '/mnt/data/movies' if inventory_hostname == 'mennos-cachyos-desktop' else '/mnt/object_storage/movies' }}:/movies
- {{ '/mnt/data/tvshows' if inventory_hostname == 'mennos-cachyos-desktop' else '/mnt/object_storage/tvshows' }}:/tvshows
- {{ '/mnt/data/music' if inventory_hostname == 'mennos-cachyos-desktop' else '/mnt/object_storage/music' }}:/music
- {{ '/mnt/data/movies' }}:/movies
- {{ '/mnt/data/tvshows' }}:/tvshows
- {{ '/mnt/data/music' }}:/music
deploy:
resources:
reservations:

View File

@@ -3,7 +3,7 @@
block:
- name: Set Plex directories
ansible.builtin.set_fact:
plex_data_dir: "{{ '/mnt/services/plex' if inventory_hostname == 'mennos-cachyos-desktop' else '/mnt/object_storage/services/plex' }}"
plex_data_dir: "/mnt/services/plex"
plex_service_dir: "{{ ansible_env.HOME }}/services/plex"
- name: Create Plex directories