mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-15 16:28:03 +00:00
26 lines
662 B
YAML
26 lines
662 B
YAML
---
|
|
- name: Create Radarr Directories
|
|
file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
with_items:
|
|
- "{{ radarr_data_directory }}"
|
|
|
|
- name: Radarr
|
|
docker_container:
|
|
name: radarr
|
|
image: linuxserver/radarr
|
|
pull: true
|
|
volumes:
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "{{ radarr_movies_directory }}:/movies:rw"
|
|
- "{{ radarr_download_directory }}/downloads:/downloads:rw"
|
|
- "{{ radarr_data_directory }}:/config:rw"
|
|
- "/etc/timezone:/etc/timezone:ro"
|
|
ports:
|
|
- "7878:7878"
|
|
env:
|
|
PUID: "{{ radarr_user_id }}"
|
|
PGID: "{{ radarr_group_id }}"
|
|
restart_policy: unless-stopped
|
|
memory: 1g
|