From 77084ebc49c8aaefbdec1c20ce3d3e8c21d1305b Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 11 Nov 2021 00:23:53 -0600 Subject: [PATCH] Reorganize media dirs, add jellyfin to vm-media-1 --- playbooks/home_media.yml | 3 +++ playbooks/tasks/web/jellyfin.yml | 13 +++++++++++++ playbooks/tasks/web/radarr.yml | 2 +- playbooks/tasks/web/sonarr.yml | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 playbooks/tasks/web/jellyfin.yml diff --git a/playbooks/home_media.yml b/playbooks/home_media.yml index ce27457..f79ed0a 100755 --- a/playbooks/home_media.yml +++ b/playbooks/home_media.yml @@ -31,6 +31,7 @@ - jackett.yml - sonarr.yml - radarr.yml + - jellyfin.yml loop_control: loop_var: task tags: [ always ] @@ -57,6 +58,8 @@ proxy_pass: http://transmission:9091 - name: jackett.local.desu.ltd proxy_pass: http://jackett:9117 + - name: jellyfin.local.desu.ltd + proxy_pass: http://jellyfin:8096 - name: sonarr.local.desu.ltd proxy_pass: http://sonarr:8989 - name: radarr.local.desu.ltd diff --git a/playbooks/tasks/web/jellyfin.yml b/playbooks/tasks/web/jellyfin.yml new file mode 100644 index 0000000..752eda9 --- /dev/null +++ b/playbooks/tasks/web/jellyfin.yml @@ -0,0 +1,13 @@ +# vim:ft=ansible: +- name: docker deploy jellyfin + docker_container: + name: jellyfin + image: jellyfin/jellyfin:latest + networks: + - name: web + aliases: [ "jellyfin" ] + volumes: + - /data/jellyfin/config:/config + - /data/jellyfin/cache:/cache + - /data/shared/media:/media + tags: [ docker, jellyfin ] diff --git a/playbooks/tasks/web/radarr.yml b/playbooks/tasks/web/radarr.yml index 9139bd9..4419d0a 100644 --- a/playbooks/tasks/web/radarr.yml +++ b/playbooks/tasks/web/radarr.yml @@ -9,5 +9,5 @@ volumes: - /data/radarr/config:/config - /data/shared/downloads:/data - - /data/shared/media:/tv + - /data/shared/media/movies:/tv tags: [ docker, radarr ] diff --git a/playbooks/tasks/web/sonarr.yml b/playbooks/tasks/web/sonarr.yml index 207ece3..3f7973c 100644 --- a/playbooks/tasks/web/sonarr.yml +++ b/playbooks/tasks/web/sonarr.yml @@ -9,5 +9,5 @@ volumes: - /data/sonarr/config:/config - /data/shared/downloads:/data - - /data/shared/media:/tv + - /data/shared/media/shows:/tv tags: [ docker, sonarr ]