/
/
/
Ansible role that provisions my storage server.
1# Jellyfin Media Server Environment Configuration
2# Generated by Ansible - DO NOT EDIT MANUALLY
3
4# User and Group Configuration
5PUID={{ storage_uid }}
6PGID={{ storage_gid }}
7TZ={{ storage_timezone }}
8UMASK_SET=022
9
10# Jellyfin Configuration
11JELLYFIN_PublishedServerUrl=http://{{ ansible_default_ipv4.address }}:{{ jellyfin_host_port }}
12
13# Hardware Acceleration (uncomment if GPU available)
14# NVIDIA_VISIBLE_DEVICES=all
15# NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
16
17# Admin Configuration (if vault variables are set)
18{% if jellyfin_admin_username is defined and jellyfin_admin_username != "" %}
19JELLYFIN_ADMIN_USERNAME={{ jellyfin_admin_username }}
20{% endif %}
21{% if jellyfin_admin_password is defined and jellyfin_admin_password != "" %}
22JELLYFIN_ADMIN_PASSWORD={{ jellyfin_admin_password }}
23{% endif %}
24
25# Memory and Performance Settings
26JELLYFIN_MEM_LIMIT={{ jellyfin_memory_limit }}
27JELLYFIN_CPU_LIMIT={{ jellyfin_cpu_limit }}
28
29# Media Directory
30MEDIA_DIR={{ jellyfin_media_dir }}
31
32# Cache and Config Paths
33CONFIG_DIR={{ jellyfin_config_dir }}
34CACHE_DIR={{ jellyfin_cache_dir }}