blob: 647c1f13a5bbc0d79be838fd943e34ed0af70b9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# https://jellyfin.org/docs/general/administration/installing.html
# https://jellyfin.org/docs/general/networking/nginx.html
---
- name: 'Install required apt packages'
apt:
name:
- 'apt-transport-https'
- 'gnupg'
- 'lsb-release'
state: 'present'
update_cache: true
- name: Add an Apt signing key, uses whichever key is at the URL
apt_key:
url: https://repo.jellyfin.org/debian/jellyfin_team.gpg.key
state: present
- name: Add specified repository into sources list
apt_repository:
repo: deb [arch=armhf] https://repo.jellyfin.org/debian bullseye main
state: present
filename: jellyfin
- name: 'Install Jellyfin'
apt:
name:
- 'jellyfin'
state: 'present'
update_cache: true
- name: 'Add jellyfin user to video group'
user:
name: 'jellyfin'
groups: 'video'
append: true
state: 'present'
- name: 'Start Jellyfin'
systemd:
name: '{{ item }}'
state: 'started'
enabled: true
loop:
- 'jellyfin'
|