- 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