From 247c79db1f133f3121e6beb219d5439030cb8745 Mon Sep 17 00:00:00 2001 From: Michael Price Date: Fri, 1 Nov 2019 22:43:42 -0500 Subject: [PATCH] Add photo support to Plex application Add access to the photos path for the Plex application. This share already exists, it just makes it available. --- group_vars/all.yml.dist | 5 +++++ tasks/plex.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/group_vars/all.yml.dist b/group_vars/all.yml.dist index 6e939328..60e1ca83 100644 --- a/group_vars/all.yml.dist +++ b/group_vars/all.yml.dist @@ -157,6 +157,9 @@ podcasts_root: "{{ samba_shares_root }}/podcasts" # Where your books are stored books_root: "{{ samba_shares_root }}/books" +# Where photos are stored +photos_root: "{{ samba_shares_root }}/photos" + # The description that'll appear next to your Ansible-NAS box when browsing your network samba_server_string: Ansible NAS @@ -355,6 +358,8 @@ plex_movies_directory: "{{ movies_root }}" plex_movies_permissions: "rw" plex_tv_directory: "{{ tv_root }}" plex_tv_permissions: "rw" +plex_photos_directory: "{{ photos_root }}" +plex_photos_permissions: "rw" plex_music_directory: "{{ music_root }}" plex_music_permissions: "rw" plex_user_id: 0 diff --git a/tasks/plex.yml b/tasks/plex.yml index 9c042532..4bfb9d95 100644 --- a/tasks/plex.yml +++ b/tasks/plex.yml @@ -15,6 +15,7 @@ - "{{ plex_config_directory }}:/config:rw" - "{{ plex_movies_directory }}:/movies:{{ plex_movies_permissions }}" - "{{ plex_tv_directory }}:/tv:{{ plex_tv_permissions }}" + - "{{ plex_photos_directory }}:/photos:{{ plex_photos_permissions }}" - "{{ plex_music_directory }}:/music:{{ plex_music_permissions }}" network_mode: "host" env: