From 51f8faf9eb32d89b91d957744f46f5c6df0ae589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20N=C3=A9meth?= <6349914+abalage@users.noreply.github.com> Date: Sun, 18 Feb 2024 14:27:56 +0100 Subject: [PATCH] fix: correct paths --- tasks/main.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0e02682..0c61e46 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -21,12 +21,16 @@ url: "https://repo.jellyfin.org/releases/server/linux/stable/combined/jellyfin_{{ jellyfin_version }}_amd64.tar.gz" dest: "{{ jellyfin_home }}/jellyfin_{{ jellyfin_version }}_amd64.tar.gz" checksum: "sha256:https://repo.jellyfin.org/releases/server/linux/stable/combined/jellyfin_{{ jellyfin_version }}_amd64.tar.gz.sha256sum" + owner: "{{ jellyfin_user }}" + group: "{{ jellyfin_user }}" mode: 0644 - name: Unarchive downloaded Jellyfin archive ansible.builtin.unarchive: src: "{{ jellyfin_home }}/jellyfin_{{ jellyfin_version }}_amd64.tar.gz" dest: "{{ jellyfin_home }}" + owner: "{{ jellyfin_user }}" + group: "{{ jellyfin_user }}" remote_src: true - name: Create symlink for Jellyfin @@ -45,10 +49,10 @@ group: "{{ jellyfin_user }}" mode: 0755 loop: - - "{{ jellyfin_home }}/jellyfin/data" - - "{{ jellyfin_home }}/jellyfin/cache" - - "{{ jellyfin_home }}/jellyfin/config" - - "{{ jellyfin_home }}/jellyfin/log" + - "{{ jellyfin_home }}/data" + - "{{ jellyfin_home }}/cache" + - "{{ jellyfin_home }}/config" + - "{{ jellyfin_home }}/log" - name: Generate script for startup ansible.builtin.template: