ansible-nas/tasks/radarr.yml
Craig Jarvis 36e9c46db7 Removed duplicate timezone config for sonarr and radarr
These apps only require one of the two different ways of getting the timezone in to the container
2018-11-16 23:30:14 +11:00

25 lines
617 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:
- "{{ radarr_movies_directory }}:/movies:rw"
- "{{ radarr_download_directory }}/downloads:/downloads:rw"
- "{{ radarr_data_directory }}:/config:rw"
ports:
- "7878:7878"
env:
TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ radarr_user_id }}"
PGID: "{{ radarr_group_id }}"
restart_policy: unless-stopped
memory: 1g