mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-27 20:13:09 +00:00
3da19e5708
* Rejig of playbook to load roles from ansible-galaxy * Remove ansible-nas role and move tasks to tasks directory * Add InfluxDB/Telegraf/Grafana for monitoring & dashboards * Automatically configure InfluxDB as a datasource in Grafana * Switch to ZFS Docker driver * Add note about switching to overlay2 Docker driver if required
26 lines
No EOL
669 B
YAML
26 lines
No EOL
669 B
YAML
---
|
|
- name: Create Sickrage Directories
|
|
file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
# mode: 0755
|
|
with_items:
|
|
- "{{ sickrage_config_directory }}"
|
|
|
|
- name: Sickrage Docker Container
|
|
docker_container:
|
|
name: sickrage
|
|
image: linuxserver/sickrage
|
|
pull: true
|
|
volumes:
|
|
- "{{ sickrage_config_directory }}:/config:rw"
|
|
- "{{ sickrage_downloads_directory }}/completed:/downloads:rw"
|
|
- "{{ sickrage_tv_directory }}:/tv:rw"
|
|
- "/etc/timezone:/etc/timezone:ro"
|
|
ports:
|
|
- "8081:8081"
|
|
env:
|
|
PUID: "{{ sickrage_user_id }}"
|
|
PGID: "{{ sickrage_group_id }}"
|
|
restart_policy: unless-stopped
|
|
memory: 1g |