2019-02-01 20:30:07 +00:00
|
|
|
---
|
|
|
|
jellyfin_version: 10.1
|
|
|
|
jellyfin_user: jellyfin
|
|
|
|
jellyfin_user_home: "/home/{{ jellyfin_user }}"
|
|
|
|
# jellyfin_uid: # defaults to not set
|
|
|
|
jellyfin_group: "{{ jellyfin_user }}"
|
|
|
|
# jellyfin_gid: # defaults to not set
|
|
|
|
jellyfin_extra_groups: []
|
|
|
|
|
2019-02-01 21:02:36 +00:00
|
|
|
# Create separate LVM storage for jellyfin
|
|
|
|
jellyfin_lvm_enabled: False
|
|
|
|
# This variables are only necessary if jellyfin_lvm_enabled is 'True'
|
|
|
|
# Set physical volumes to use in LVM
|
|
|
|
# jellyfin_lvm_pvs: # ['/dev/sdb', '/dev/sdc']
|
|
|
|
# jellyfin_lvm_vg: # "vg_jellyfin"
|
|
|
|
# jellyfin_lvm_lv: # "lv_jellyfin"
|
|
|
|
# jellyfin_lvm_fstype: # ext4
|
|
|
|
# jellyfin_lvm_size: # "50G"
|
|
|
|
|
|
|
|
jellyfin_base_dir: "/opt/jellyfin"
|
|
|
|
jellyfin_conf_dir: "{{ jellyfin_base_dir }}/config"
|
|
|
|
jellyfin_data_dir: "{{ jellyfin_base_dir }}/data"
|
|
|
|
jellyfin_log_dir: "{{ jellyfin_base_dir }}/log"
|
2019-02-01 22:05:15 +00:00
|
|
|
|
2019-02-01 22:38:51 +00:00
|
|
|
jellyfin_dependencies:
|
|
|
|
- lttng-ust
|
|
|
|
- libcurl
|
|
|
|
- openssl-libs
|
|
|
|
- krb5-libs
|
|
|
|
- libicu
|
|
|
|
- zlib
|
|
|
|
|
2019-02-01 22:05:15 +00:00
|
|
|
jellyfin_logrotate_enabled: False
|
|
|
|
jellyfin_logrotate_config:
|
|
|
|
- log: "{{ jellyfin_log_dir }}/jellyfin.log"
|
|
|
|
options:
|
|
|
|
- weekly
|
|
|
|
- rotate 4
|
|
|
|
- maxsize 250K
|
|
|
|
- compress
|
|
|
|
- shred
|
|
|
|
|
2019-02-01 23:57:15 +00:00
|
|
|
jellyfin_base_url: mystream.example.com
|
2019-02-01 22:05:15 +00:00
|
|
|
# DONT CHANGE IT!
|
|
|
|
# Changing the bind ports is currently not supported
|
|
|
|
jellyfin_http_bind_port: 8096
|
|
|
|
jellyfin_https_bind_port: 8920
|
|
|
|
|
|
|
|
jellyfin_iptables_enabled: False
|
|
|
|
jellyfin_open_ports:
|
|
|
|
- name: allow_jellyfin_web
|
|
|
|
rules: |
|
|
|
|
-A INPUT -m state --state NEW -p tcp --dport {{ jellyfin_http_bind_port }} -j ACCEPT
|
|
|
|
state: present
|
2019-02-01 23:06:12 +00:00
|
|
|
# multicast (ssdp) will not really work with this, only workarount to prevent exception
|
|
|
|
- name: allow_jellyfin_multicast
|
|
|
|
rules: |
|
|
|
|
-A OUTPUT -m state --state NEW -p udp --destination 239.255.255.250 --dport 1900 -j ACCEPT
|
|
|
|
state: present
|
2019-02-01 23:57:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
jellyfin_tls_cert_source: mycert.pem
|
|
|
|
jellyfin_tls_key_source: mykey.pem
|
|
|
|
|
|
|
|
jellyfin_nginx_vhost_enabled: False
|
|
|
|
jellyfin_nginx_server: localhost
|
|
|
|
jellyfin_nginx_vhost_dir: /etc/nginx/sites-available
|
|
|
|
jellyfin_nginx_vhost_symlink: /etc/nginx/sites-enabled
|
|
|
|
jellyfin_nginx_iptables_enabled: False
|
|
|
|
jellyfin_nginx_tls_enabled: False
|
|
|
|
jellyfin_nginx_tls_cert_file: jellyfin-cert.pem
|
|
|
|
jellyfin_nginx_tls_key_file: jellyfin-key.pem
|
|
|
|
jellyfin_nginx_proxy_port: "{{ jellyfin_http_bind_port }}"
|
|
|
|
jellyfin_nginx_proxy_ip: "{{ ansible_default_ipv4.address }}"
|