author | Luke Hoersten <luke@hoersten.org> |
Thu, 23 Feb 2023 17:55:33 -0600 | |
changeset 210 | dcdb18c5dc21 |
parent 208 | 88a7fee5effe |
permissions | -rw-r--r-- |
0
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
1 |
--- |
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
2 |
|
208 | 3 |
# https://jellyfin.org/downloads/server |
0
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
4 |
|
208 | 5 |
- name: add jellyfin apt key |
0
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
6 |
become: yes |
189
3bd85e235e76
Removed deprecated apt_key ansible module.
Luke Hoersten <luke@hoersten.org>
parents:
42
diff
changeset
|
7 |
get_url: |
208 | 8 |
url: "https://repo.jellyfin.org/jellyfin_team.gpg.key" |
9 |
dest: "/etc/apt/trusted.gpg.d/jellyfin_team.asc" |
|
189
3bd85e235e76
Removed deprecated apt_key ansible module.
Luke Hoersten <luke@hoersten.org>
parents:
42
diff
changeset
|
10 |
mode: "0644" |
0
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
11 |
|
208 | 12 |
- name: add jellyfin apt repo |
0
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
13 |
become: yes |
208 | 14 |
apt_repository: repo="deb [signed-by=/etc/apt/trusted.gpg.d/jellyfin_team.asc] https://repo.jellyfin.org/ubuntu jammy main unstable" |
15 |
notify: restart jellyfin service |
|
0
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
16 |
|
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
17 |
- name: update apt package cache |
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
18 |
become: yes |
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
19 |
apt: upgrade="dist" update_cache="yes" cache_valid_time="3600" |
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
20 |
|
208 | 21 |
- name: install jellyfin server |
0
df042396074e
Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
22 |
become: yes |
208 | 23 |
apt: name="jellyfin" |
24 |
notify: restart jellyfin service |
|
42
edb53dfadfb5
Moved to ext4 for permissions on hdd.
Luke Hoersten <luke@hoersten.org>
parents:
2
diff
changeset
|
25 |
|
208 | 26 |
- name: ensure jellyfin service is running |
42
edb53dfadfb5
Moved to ext4 for permissions on hdd.
Luke Hoersten <luke@hoersten.org>
parents:
2
diff
changeset
|
27 |
become: yes |
208 | 28 |
systemd: name="jellyfin.service" state="started" daemon_reload="yes" |