Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions roles/jellyfin/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
subdomain_jellyfin: video
version_jellyfin: amd64-10.8.10-1-ls208
20 changes: 20 additions & 0 deletions roles/jellyfin/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,28 @@
tasks_from: install
vars:
app: jellyfin
app_version: "{{version_jellyfin}}"
data_dirs:
- data
- config
firewall_udp:
- 7359
start: false

- name: Create LDAP plugin folder
ansible.builtin.file:
state: directory
path: "{{app_root}}/config/data/plugins/ldapauth/"

- name: Download and uzip the LDAP plugin
ansible.builtin.unarchive:
src: https://github.com/jellyfin/jellyfin-plugin-ldapauth/releases/download/v17/ldap-authentication_17.0.0.0.zip
remote_src: yes
dest: "{{app_root}}/config/data/plugins/ldapauth/"
creates: "{{app_root}}/config/data/plugins/ldapauth/LDAP-Auth.dll"

- name: Start jellyfin
ansible.builtin.shell:
cmd: "docker compose up -d"
chdir: "{{app_root}}"
notify: "lokal : Restart router"
2 changes: 1 addition & 1 deletion roles/jellyfin/templates/compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"
services:

jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
image: lscr.io/linuxserver/jellyfin:{{version_jellyfin}}
container_name: jellyfin
environment:
PUID: '{{uid}}'
Expand Down