Install jellyfin through Ansible

This commit is contained in:
Jake Howard 2021-05-02 12:04:48 +01:00
parent a669e34f57
commit 4a0f7b701b
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 21 additions and 0 deletions

View file

@ -95,3 +95,7 @@
- nebula - nebula
- upload - upload
- duplicati - duplicati
- hosts: jellyfin
roles:
- jellyfin

View file

@ -0,0 +1,17 @@
- name: Add Jellyfin apt key
ansible.builtin.apt_key:
url: https://repo.jellyfin.org/jellyfin_team.gpg.key
state: present
become: true
- name: Add Jellyfin repository
apt_repository:
repo: deb [arch=amd64] https://repo.jellyfin.org/debian buster main
filename: jellyfin
state: present
become: true
- name: Install jellyfin
package:
name: jellyfin
become: true