Install jellyfin through Ansible
This commit is contained in:
parent
a669e34f57
commit
4a0f7b701b
2 changed files with 21 additions and 0 deletions
|
@ -95,3 +95,7 @@
|
||||||
- nebula
|
- nebula
|
||||||
- upload
|
- upload
|
||||||
- duplicati
|
- duplicati
|
||||||
|
|
||||||
|
- hosts: jellyfin
|
||||||
|
roles:
|
||||||
|
- jellyfin
|
||||||
|
|
17
ansible/roles/jellyfin/tasks/main.yml
Normal file
17
ansible/roles/jellyfin/tasks/main.yml
Normal 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
|
Loading…
Reference in a new issue