xoxys.jellyfin/defaults/main.yml

53 lines
1.6 KiB
YAML
Raw Normal View History

2019-02-01 20:30:07 +00:00
---
2019-07-30 21:02:40 +00:00
jellyfin_version: 10.3.7
2019-02-01 20:30:07 +00:00
jellyfin_user: jellyfin
jellyfin_user_home: "/home/{{ jellyfin_user }}"
jellyfin_group: "{{ jellyfin_user }}"
jellyfin_extra_groups: []
2019-02-01 21:02:36 +00:00
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
jellyfin_logrotate_enabled: False
jellyfin_logrotate_config:
- log: "{{ jellyfin_log_dir }}/jellyfin.log"
options:
- weekly
2019-08-08 21:21:31 +00:00
- rotate 5
- maxsize 512K
2019-02-01 22:05:15 +00:00
- compress
2019-08-08 21:21:31 +00:00
- delaycompress
- "create 640 {{ jellyfin_user }} {{ jellyfin_group }}"
2019-02-01 22:05:15 +00:00
2019-07-30 21:17:18 +00:00
jellyfin_packages_extra: []
2019-10-17 18:58:18 +00:00
# @var jellyfin_log_level_console:description: >
# Possible value: `Verbose | Debug | Information | Warning | Error | Fatal`.
2019-02-02 02:27:11 +00:00
# Beware that the values are case sensitive!
2019-10-17 18:58:18 +00:00
# @end
2019-02-02 02:27:11 +00:00
jellyfin_log_level_console: Fatal
jellyfin_log_level_file: Information
2019-10-17 18:58:18 +00:00
# @var jellyfin_http_bind_port:description: >
# DONT change it! Changing the bind ports is currently not supported.
# @end
2019-02-01 22:05:15 +00:00
jellyfin_http_bind_port: 8096
2019-10-17 18:58:18 +00:00
# @var jellyfin_https_bind_port:description: >
# DONT change it! Changing the bind ports is currently not supported.
# @end
2019-02-01 22:05:15 +00:00
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
# 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