src.nth.io/

summaryrefslogtreecommitdiff
path: root/jellyfin/tasks
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-03-23 22:22:36 -0500
committerLuke Hoersten <[email protected]>2026-03-23 22:22:36 -0500
commit1859f62813f0c586ea49f912944fb25efd60520f (patch)
tree5e92465f6e24cda9f4c38c2c2c00d0c0ccd7c525 /jellyfin/tasks
parentb7fbbf6810d4d53ca7a0afca31134181f7025a67 (diff)
Fixed log rotation and log2ram sizing.
Diffstat (limited to 'jellyfin/tasks')
-rw-r--r--jellyfin/tasks/main.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/jellyfin/tasks/main.yaml b/jellyfin/tasks/main.yaml
index 6e93cb5..29b7bca 100644
--- a/jellyfin/tasks/main.yaml
+++ b/jellyfin/tasks/main.yaml
@@ -23,6 +23,24 @@
apt: name="jellyfin"
notify: restart jellyfin service
+- name: create jellyfin data dir
+ become: yes
+ file:
+ path: "{{jellyfin_data_dir}}"
+ state: "directory"
+ owner: "jellyfin"
+ group: "jellyfin"
+ mode: "0755"
+
+- name: configure jellyfin data dir
+ become: yes
+ lineinfile:
+ path: "/etc/jellyfin/jellyfin"
+ regexp: "^JELLYFIN_DATA_DIR="
+ line: "JELLYFIN_DATA_DIR={{jellyfin_data_dir}}"
+ create: yes
+ notify: restart jellyfin service
+
- name: ensure jellyfin service is running
become: yes
systemd: name="jellyfin.service" state="started" daemon_reload="yes"