2022-03-17 14:12:56 +00:00
|
|
|
---
|
|
|
|
jellyfin_user: jellyfin
|
2024-11-19 13:08:00 +00:00
|
|
|
jellyfin_version: "10.10.3"
|
2024-10-07 17:42:11 +00:00
|
|
|
jellyfin_state: present
|
2022-03-17 14:12:56 +00:00
|
|
|
|
|
|
|
jellyfin_base_path: /opt/jellyfin
|
|
|
|
jellyfin_config_path: "{{ jellyfin_base_path }}/config"
|
|
|
|
jellyfin_cache_path: "{{ jellyfin_base_path }}/cache"
|
|
|
|
|
|
|
|
jellyfin_media_volumes: []
|
|
|
|
|
|
|
|
jellyfin_container_name: jellyfin
|
|
|
|
jellyfin_container_image_name: "docker.io/jellyfin/jellyfin"
|
2022-07-17 13:59:19 +00:00
|
|
|
jellyfin_container_image_tag: ~
|
2024-10-07 17:42:11 +00:00
|
|
|
jellyfin_container_image_ref: >-2
|
|
|
|
{{ jellyfin_container_image_name }}:{{ jellyfin_container_image_tag | default(jellyfin_version, true) }}
|
|
|
|
jellyfin_container_image_source: pull
|
|
|
|
jellyfin_container_state: >-2
|
|
|
|
{{ (jellyfin_state == 'present') | ternary('started', 'absent') }}
|
2022-03-17 14:12:56 +00:00
|
|
|
jellyfin_container_network_mode: host
|
|
|
|
jellyfin_container_networks: ~
|
|
|
|
jellyfin_container_volumes: "{{ jellyfin_container_base_volumes + jellyfin_media_volumes }}"
|
2022-07-17 13:59:19 +00:00
|
|
|
jellyfin_container_labels: "{{ jellyfin_container_base_labels | combine(jellyfin_container_extra_labels) }}"
|
|
|
|
jellyfin_container_extra_labels: {}
|
2022-03-17 14:12:56 +00:00
|
|
|
jellyfin_container_restart_policy: "unless-stopped"
|
|
|
|
|
|
|
|
jellyfin_host_directories:
|
|
|
|
- path: "{{ jellyfin_base_path }}"
|
|
|
|
mode: "0750"
|
|
|
|
- path: "{{ jellyfin_config_path }}"
|
|
|
|
mode: "0750"
|
|
|
|
- path: "{{ jellyfin_cache_path }}"
|
|
|
|
mode: "0750"
|
|
|
|
|
|
|
|
jellyfin_uid: "{{ jellyfin_user_info.uid | default(jellyfin_user) }}"
|
|
|
|
jellyfin_gid: "{{ jellyfin_user_info.group | default(jellyfin_user) }}"
|