2020-01-22 22:37:12 +00:00
---
title: jellyfin
type: docs
---
2020-06-04 13:26:33 +00:00
[![Source Code ](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white )](https://gitea.rknet.org/ansible/xoxys.jellyfin) [![Build Status ](https://img.shields.io/drone/build/ansible/xoxys.jellyfin?logo=drone&server=https%3A%2F%2Fdrone.rknet.org )](https://drone.rknet.org/ansible/xoxys.jellyfin) [![License: MIT ](https://img.shields.io/badge/license-MIT-blue.svg )](https://gitea.rknet.org/ansible/xoxys.jellyfin/src/branch/master/LICENSE)
2020-01-31 10:39:16 +00:00
2021-04-19 15:32:53 +00:00
Setup a [Jellyfin ](https://jellyfin.org/ ) server. Jellyfin puts you in control of managing and streaming your media. Jellyfin requires a working `ffmpeg` and `aspnetcore-runtime` on the target host and the setup is not covered by this role!
2020-01-22 22:37:12 +00:00
* [Default Variables ](#default-variables )
2020-05-25 21:14:54 +00:00
* [jellyfin_base_dir ](#jellyfin_base_dir )
* [jellyfin_cache_dir ](#jellyfin_cache_dir )
* [jellyfin_conf_dir ](#jellyfin_conf_dir )
* [jellyfin_data_dir ](#jellyfin_data_dir )
* [jellyfin_extra_groups ](#jellyfin_extra_groups )
2021-04-19 15:28:41 +00:00
* [jellyfin_ffmpeg_bin ](#jellyfin_ffmpeg_bin )
2020-05-25 21:14:54 +00:00
* [jellyfin_group ](#jellyfin_group )
* [jellyfin_log_dir ](#jellyfin_log_dir )
* [jellyfin_log_level_console ](#jellyfin_log_level_console )
* [jellyfin_log_level_file ](#jellyfin_log_level_file )
* [jellyfin_packages_extra ](#jellyfin_packages_extra )
* [jellyfin_selinux_fcontext ](#jellyfin_selinux_fcontext )
* [jellyfin_selinux_restorecon ](#jellyfin_selinux_restorecon )
2021-04-18 16:49:57 +00:00
* [jellyfin_src_dir ](#jellyfin_src_dir )
2020-05-25 21:14:54 +00:00
* [jellyfin_user ](#jellyfin_user )
* [jellyfin_user_home ](#jellyfin_user_home )
* [jellyfin_version ](#jellyfin_version )
2020-01-22 22:37:12 +00:00
* [Dependencies ](#dependencies )
---
## Default Variables
### jellyfin_base_dir
#### Default value
```YAML
jellyfin_base_dir: /opt/jellyfin
```
2020-03-14 13:38:05 +00:00
### jellyfin_cache_dir
#### Default value
```YAML
jellyfin_cache_dir: '{{ jellyfin_base_dir }}/cache'
```
2020-01-22 22:37:12 +00:00
### jellyfin_conf_dir
#### Default value
```YAML
jellyfin_conf_dir: '{{ jellyfin_base_dir }}/config'
```
### jellyfin_data_dir
#### Default value
```YAML
jellyfin_data_dir: '{{ jellyfin_base_dir }}/data'
```
### jellyfin_extra_groups
#### Default value
```YAML
jellyfin_extra_groups: []
```
2021-04-19 15:28:41 +00:00
### jellyfin_ffmpeg_bin
#### Default value
```YAML
jellyfin_ffmpeg_bin: /usr/bin/ffmpeg
```
2020-01-22 22:37:12 +00:00
### jellyfin_group
#### Default value
```YAML
jellyfin_group: '{{ jellyfin_user }}'
```
### jellyfin_log_dir
#### Default value
```YAML
jellyfin_log_dir: '{{ jellyfin_base_dir }}/log'
```
### jellyfin_log_level_console
Possible value: `Verbose | Debug | Information | Warning | Error | Fatal` . Beware that the values are case sensitive!
#### Default value
```YAML
jellyfin_log_level_console: Fatal
```
### jellyfin_log_level_file
#### Default value
```YAML
jellyfin_log_level_file: Information
```
### jellyfin_packages_extra
#### Default value
```YAML
jellyfin_packages_extra: []
```
### jellyfin_selinux_fcontext
#### Default value
```YAML
jellyfin_selinux_fcontext:
- target: '{{ jellyfin_log_dir }}(/.*)?'
setype: var_log_t
```
### jellyfin_selinux_restorecon
#### Default value
```YAML
jellyfin_selinux_restorecon:
- -ir {{ jellyfin_log_dir }}
```
2021-04-18 16:49:57 +00:00
### jellyfin_src_dir
#### Default value
```YAML
jellyfin_src_dir: '{{ jellyfin_base_dir }}/src'
```
2020-01-22 22:37:12 +00:00
### jellyfin_user
#### Default value
```YAML
jellyfin_user: jellyfin
```
### jellyfin_user_home
#### Default value
```YAML
jellyfin_user_home: /home/{{ jellyfin_user }}
```
### jellyfin_version
#### Default value
```YAML
2021-04-18 16:49:57 +00:00
jellyfin_version: 10.7.2
2020-01-22 22:37:12 +00:00
```
## Dependencies
None.