24 lines
559 B
YAML
24 lines
559 B
YAML
- 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
|
|
|
|
- name: Set media dir permissions
|
|
cron:
|
|
name: Set media permissions
|
|
special_time: daily
|
|
job: chown -R jellyfin:jellyfin /mnt/media
|
|
become: true
|