2 Commits

Author SHA1 Message Date
ccb83be886 Lint 2022-09-30 08:00:33 +02:00
f3255fca65 Updated vilumes to support spaces. 2022-09-30 00:31:53 +02:00
3 changed files with 23 additions and 24 deletions

View File

@@ -9,4 +9,3 @@
roles:
- role: laurivan.arrs

View File

@@ -17,8 +17,8 @@
ansible.builtin.file:
state: directory
path: "{{ item }}"
owner: "{% if arrs_uid %}{{ arrs_uid }}{% else %}{{ ansible_effective_user_id }}{%endif%}"
group: "{% if arrs_gid %}{{ arrs_gid }}{% else %}{{ ansible_effective_group_id }}{%endif%}"
owner: "{% if arrs_uid %}{{ arrs_uid }}{% else %}{{ ansible_effective_user_id }}{% endif %}"
group: "{% if arrs_gid %}{{ arrs_gid }}{% else %}{{ ansible_effective_group_id }}{% endif %}"
mode: "0750"
with_items:
- "{{ deluge_config_volume }}"
@@ -34,8 +34,8 @@
ansible.builtin.file:
state: directory
path: "{{ item }}"
owner: "{% if arrs_uid %}{{ arrs_uid }}{% else %}{{ ansible_effective_user_id }}{%endif%}"
group: "{% if arrs_gid %}{{ arrs_gid }}{% else %}{{ ansible_effective_group_id }}{%endif%}"
owner: "{% if arrs_uid %}{{ arrs_uid }}{% else %}{{ ansible_effective_user_id }}{% endif %}"
group: "{% if arrs_gid %}{{ arrs_gid }}{% else %}{{ ansible_effective_group_id }}{% endif %}"
mode: "0750"
with_items:
- "{{ radarr_upload_volume }}"

View File

@@ -5,10 +5,10 @@ services:
image: "lscr.io/linuxserver/deluge:{{ deluge_image_version }}"
restart: unless-stopped
env_file:
- {{ arrs_setup_path }}/env.deluge.conf
- "{{ arrs_setup_path }}/env.deluge.conf"
volumes:
- {{ deluge_config_volume }}:/config
- {{ torrent_downloads_volume }}:/downloads
- "{{ deluge_config_volume }}:/config"
- "{{ torrent_downloads_volume }}:/downloads"
ports:
- {{ deluge_admin_port }}:8112
- {{ deluge_host_port }}:6881
@@ -21,13 +21,13 @@ services:
image: "lscr.io/linuxserver/radarr:{{ radarr_image_version }}"
restart: unless-stopped
env_file:
- {{ arrs_setup_path }}/env.radarr.conf
- "{{ arrs_setup_path }}/env.radarr.conf"
volumes:
- {{ radarr_config_volume }}:/config
- {{ torrent_downloads_volume }}:/downloads
- {{ radarr_upload_volume }}:/movies
- "{{ radarr_config_volume }}:/config"
- "{{ torrent_downloads_volume }}:/downloads"
- "{{ radarr_upload_volume }}:/movies"
{% for item in radarr_library_volumes %}
- {{ item.path }}:/library/{{ item.alias }}
- "{{ item.path }}:/library/{{ item.alias }}"
{% endfor %}
ports:
- {{ radarr_host_port }}:7878
@@ -39,13 +39,13 @@ services:
image: "lscr.io/linuxserver/sonarr:{{ sonarr_image_version }}"
restart: unless-stopped
env_file:
- {{ arrs_setup_path }}/env.sonarr.conf
- "{{ arrs_setup_path }}/env.sonarr.conf"
volumes:
- {{ sonarr_config_volume }}:/config
- {{ torrent_downloads_volume }}:/downloads
- {{ sonarr_upload_volume }}:/tv
- "{{ sonarr_config_volume }}:/config"
- "{{ torrent_downloads_volume }}:/downloads"
- "{{ sonarr_upload_volume }}:/tv"
{% for item in sonarr_library_volumes %}
- {{ item.path }}:/library/{{ item.alias }}
- "{{ item.path }}:/library/{{ item.alias }}"
{% endfor %}
ports:
- {{ sonarr_host_port }}:8989
@@ -57,13 +57,13 @@ services:
image: "lscr.io/linuxserver/lidarr:{{ lidarr_image_version }}"
restart: unless-stopped
env_file:
- {{ arrs_setup_path }}/env.sonarr.conf
- "{{ arrs_setup_path }}/env.sonarr.conf"
volumes:
- {{ lidarr_config_volume }}:/config
- {{ torrent_downloads_volume }}:/downloads
- {{ lidarr_upload_volume }}:/music
- "{{ lidarr_config_volume }}:/config"
- "{{ torrent_downloads_volume }}:/downloads"
- "{{ lidarr_upload_volume }}:/music"
{% for item in lidarr_library_volumes %}
- {{ item.path }}:/library/{{ item.alias }}
- "{{ item.path }}:/library/{{ item.alias }}"
{% endfor %}
ports:
- {{ lidarr_host_port }}:8686
@@ -75,7 +75,7 @@ services:
image: "lscr.io/linuxserver/jackett:{{ jackett_image_version }}"
restart: unless-stopped
env_file:
- {{ arrs_setup_path }}/env.jackett.conf
- "{{ arrs_setup_path }}/env.jackett.conf"
volumes:
- {{ jackett_config_volume }}:/config
- {{ torrent_downloads_volume }}:/downloads