Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 97752ebf58 | |||
| 482e48c26e | |||
| b963045b89 | |||
| 7660244b3e |
@@ -7,12 +7,25 @@
|
|||||||
owner: "{{ ansible_effective_user_id }}"
|
owner: "{{ ansible_effective_user_id }}"
|
||||||
group: "{{ ansible_effective_group_id }}"
|
group: "{{ ansible_effective_group_id }}"
|
||||||
mode: "0750"
|
mode: "0750"
|
||||||
|
with_items:
|
||||||
|
- "{{ arrs_setup_path }}"
|
||||||
|
tags:
|
||||||
|
- configuration
|
||||||
|
become: true
|
||||||
|
- name: Set up directories
|
||||||
|
|
||||||
|
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%}"
|
||||||
|
mode: "0750"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ deluge_config_volume }}"
|
- "{{ deluge_config_volume }}"
|
||||||
|
- "{{ radarr_config_volume }}"
|
||||||
- "{{ sonarr_config_volume }}"
|
- "{{ sonarr_config_volume }}"
|
||||||
- "{{ lidarr_config_volume }}"
|
- "{{ lidarr_config_volume }}"
|
||||||
- "{{ jackett_config_volume }}"
|
- "{{ jackett_config_volume }}"
|
||||||
- "{{ arrs_setup_path }}"
|
|
||||||
tags:
|
tags:
|
||||||
- configuration
|
- configuration
|
||||||
become: true
|
become: true
|
||||||
@@ -25,6 +38,7 @@
|
|||||||
loop:
|
loop:
|
||||||
- "docker-compose.yml"
|
- "docker-compose.yml"
|
||||||
- "env.deluge.conf"
|
- "env.deluge.conf"
|
||||||
|
- "env.radarr.conf"
|
||||||
- "env.sonarr.conf"
|
- "env.sonarr.conf"
|
||||||
- "env.lidarr.conf"
|
- "env.lidarr.conf"
|
||||||
- "env.jackett.conf"
|
- "env.jackett.conf"
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ services:
|
|||||||
- arrs
|
- arrs
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if radarr_enabled %}
|
{% if radarr_enabled %}
|
||||||
sonarr:
|
radarr:
|
||||||
image: "lscr.io/linuxserver/radarr:{{ radarr_image_version }}"
|
image: "lscr.io/linuxserver/radarr:{{ radarr_image_version }}"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
|
|||||||
Reference in New Issue
Block a user