From 605ae4f8b80584065f492fe35d273b9165e853bd Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 30 May 2020 15:35:55 +0100 Subject: [PATCH] Make sure media is owned correctly --- ansible/roles/intersect-docker/tasks/emby.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ansible/roles/intersect-docker/tasks/emby.yml b/ansible/roles/intersect-docker/tasks/emby.yml index 0a4e85d..30eb737 100644 --- a/ansible/roles/intersect-docker/tasks/emby.yml +++ b/ansible/roles/intersect-docker/tasks/emby.yml @@ -27,3 +27,9 @@ loop: - absent - present + +- name: Set media permissions + cron: + name: Set media permissions + special_time: daily + job: chown -R {{ docker_user.name }}:{{ docker_user.name }} /mnt/media/*