2021-05-02 12:04:48 +01:00
|
|
|
- name: Add Jellyfin apt key
|
|
|
|
ansible.builtin.apt_key:
|
|
|
|
url: https://repo.jellyfin.org/jellyfin_team.gpg.key
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Add Jellyfin repository
|
|
|
|
apt_repository:
|
2021-08-22 14:44:34 +01:00
|
|
|
repo: deb [arch=amd64] https://repo.jellyfin.org/debian {{ ansible_distribution_release }} main
|
2021-05-02 12:04:48 +01:00
|
|
|
filename: jellyfin
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Install jellyfin
|
|
|
|
package:
|
|
|
|
name: jellyfin
|
2021-05-02 12:04:58 +01:00
|
|
|
|
|
|
|
- name: Set media dir permissions
|
|
|
|
cron:
|
|
|
|
name: Set media permissions
|
|
|
|
special_time: daily
|
|
|
|
job: chown -R jellyfin:jellyfin /mnt/media
|