mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-26 19:43:11 +00:00
21 lines
488 B
YAML
21 lines
488 B
YAML
|
---
|
||
|
- name: Create jackett Directories
|
||
|
file:
|
||
|
path: "{{ item }}"
|
||
|
state: directory
|
||
|
with_items:
|
||
|
- "{{ jackett_data_directory }}"
|
||
|
|
||
|
- name: jackett
|
||
|
docker_container:
|
||
|
name: jackett
|
||
|
image: linuxserver/jackett
|
||
|
volumes:
|
||
|
- "{{ jackett_data_directory }}:/config:rw"
|
||
|
- "/etc/localtime:/etc/localtime:ro"
|
||
|
- "{{ torrents_root }}:/downloads"
|
||
|
ports:
|
||
|
- "9117:9117"
|
||
|
env:
|
||
|
TZ: "{{ ansible_nas_timezone }}"
|
||
|
restart_policy: unless-stopped
|