1
0
Fork 0
home-stack-ansible/roles/jellyfin/tasks/main.yml

24 lines
638 B
YAML
Raw Normal View History

2024-10-14 22:19:06 +00:00
- name: Download jellyfin repository gpg key
get_url:
url: https://repo.jellyfin.org/jellyfin_team.gpg.key
dest: /etc/apt/keyrings/jellyfin.asg
- name: Add jellyfin repository
apt_repository:
repo: deb [arch=amd64 signed-by=/etc/apt/keyrings/jellyfin.asg] https://repo.jellyfin.org/ubuntu {{ ansible_distribution_release }} main
- name: Install jellyfin
apt:
update_cache: true
name:
- jellyfin-server
- jellyfin-web
- jellyfin-ffmpeg6 # for transcode
- intel-opencl-icd # for transcode
- name: Enable jellyfin service
systemd:
name: jellyfin
state: started
enabled: yes