Added Jellyfin

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-10-06 15:52:45 +02:00
parent a9af3c74c8
commit 67d88c6576
10 changed files with 97 additions and 96 deletions

View File

@@ -1,8 +1,8 @@
---
- include_tasks: zoneminder.yml
tags:
- zoneminder
# - include_tasks: zoneminder.yml
# tags:
# - zoneminder
- include_tasks: pihole.yml
tags:
@@ -12,9 +12,9 @@
tags:
- syncthing
- include_tasks: softserve.yml
tags:
- softserve
# - include_tasks: softserve.yml
# tags:
# - softserve
- include_tasks: cupsd.yml
tags:
@@ -24,9 +24,9 @@
tags:
- kuma
- include_tasks: traefik.yml
tags:
- traefik
# - include_tasks: traefik.yml
# tags:
# - traefik
- include_tasks: plex.yml
tags:
@@ -82,3 +82,7 @@
- include_tasks: grafana.yml
tags:
- grafana
- include_tasks: jellyfin.yml
tags:
- jellyfin

View File

@@ -6,4 +6,4 @@
group: "{{ pgid }}"
mode: '755'
state: directory
become: true
become: yes

View File

@@ -0,0 +1,31 @@
---
- name: Create jellyfin-config directory
file:
path: "{{ jellyfin.config }}"
owner: "{{ puid }}"
group: "{{ pgid }}"
mode: '755'
state: directory
become: yes
- name: Create jellyfin-cache directory
file:
path: "{{ jellyfin.cache }}"
owner: "{{ puid }}"
group: "{{ pgid }}"
mode: '755'
state: directory
become: yes
- name: Create jellyfin media directories
file:
path: "{{ item }}"
owner: "{{ puid }}"
group: "{{ pgid }}"
mode: '755'
state: directory
become: yes
loop:
- "{{ jellyfin.media.tv }}"
- "{{ jellyfin.media.movies }}"
- "{{ jellyfin.media.music }}"

View File

@@ -1,4 +1,5 @@
---
- include_tasks: swag.yml
- include_tasks: nginx-proxy-manager.yml
tags:
- swag
- nginx