mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 03:38:41 +00:00
mv jackett to role
This commit is contained in:
parent
3657c4feda
commit
dda1f432ef
4 changed files with 21 additions and 14 deletions
|
@ -16,7 +16,6 @@
|
|||
###
|
||||
|
||||
# Media Sourcing
|
||||
jackett_enabled: false
|
||||
minidlna_enabled: false
|
||||
jellyfin_enabled: false
|
||||
|
||||
|
@ -421,14 +420,6 @@ minidlna_port: "8201"
|
|||
mymediaforalexa_media_directory: "{{ music_root }}"
|
||||
mymediaforalexa_data_directory: "{{ docker_home }}/mymediaforalexa"
|
||||
|
||||
###
|
||||
### Jackett
|
||||
###
|
||||
jackett_available_externally: "false"
|
||||
jackett_data_directory: "{{ docker_home }}/jackett"
|
||||
jackett_torrents_root: "{{ torrents_root }}"
|
||||
jackett_port: "9117"
|
||||
|
||||
###
|
||||
### The Lounge
|
||||
###
|
||||
|
|
9
nas.yml
9
nas.yml
|
@ -98,6 +98,11 @@
|
|||
- homeassistant
|
||||
when: (homeassistant_enabled | default(False))
|
||||
|
||||
- role: jackett
|
||||
tags:
|
||||
- jackett
|
||||
when: (jackett_enabled | default(False))
|
||||
|
||||
- role: lidarr
|
||||
tags:
|
||||
- lidarr
|
||||
|
@ -252,10 +257,6 @@
|
|||
when: (mymediaforalexa_enabled | default(False))
|
||||
tags: mymediaforalexa
|
||||
|
||||
- import_tasks: tasks/jackett.yml
|
||||
when: (jackett_enabled | default(False))
|
||||
tags: jackett
|
||||
|
||||
- import_tasks: tasks/joomla.yml
|
||||
when: (joomla_enabled | default(False))
|
||||
tags: joomla
|
||||
|
|
15
roles/jackett/defaults/main.yml
Normal file
15
roles/jackett/defaults/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
# enable or disable the application
|
||||
jackett_enabled: false
|
||||
jackett_available_externally: "false"
|
||||
|
||||
# directories
|
||||
jackett_data_directory: "{{ docker_home }}/jackett"
|
||||
jackett_torrents_root: "{{ torrents_root }}"
|
||||
|
||||
# network
|
||||
jackett_hostname: "jackett"
|
||||
jackett_port: "9117"
|
||||
|
||||
# specs
|
||||
jackett_memory: "1g"
|
|
@ -21,7 +21,7 @@
|
|||
restart_policy: unless-stopped
|
||||
labels:
|
||||
traefik.enable: "{{ jackett_available_externally }}"
|
||||
traefik.http.routers.jackett.rule: "Host(`jackett.{{ ansible_nas_domain }}`)"
|
||||
traefik.http.routers.jackett.rule: "Host(`{{ jackett_hostname }}.{{ ansible_nas_domain }}`)"
|
||||
traefik.http.routers.jackett.tls.certresolver: "letsencrypt"
|
||||
traefik.http.routers.jackett.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||||
traefik.http.routers.jackett.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
Loading…
Reference in a new issue