mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-26 10:15:14 +00:00
Add support for sabnzbd.
This commit is contained in:
parent
f08dbd903a
commit
c7251bae84
6 changed files with 65 additions and 0 deletions
|
@ -78,6 +78,8 @@ Ansible config and a bunch of Docker containers.
|
||||||
* [pyLoad](https://pyload.net/) - A download manager with a friendly web-interface
|
* [pyLoad](https://pyload.net/) - A download manager with a friendly web-interface
|
||||||
* [PyTivo](http://pytivo.org) - An HMO and GoBack server for TiVos.
|
* [PyTivo](http://pytivo.org) - An HMO and GoBack server for TiVos.
|
||||||
* [Radarr](https://radarr.video/) - for organising and downloading movies
|
* [Radarr](https://radarr.video/) - for organising and downloading movies
|
||||||
|
* [Sabnzbd](https://sabnzbd.org/) - A powerful usenet downloader that FreeNAS provides
|
||||||
|
* [Serposcope](https://serposcope.serphacker.com/en/) - tracker to monitor website ranking
|
||||||
* [Sickchill](https://sickchill.github.io/) - for managing TV episodes
|
* [Sickchill](https://sickchill.github.io/) - for managing TV episodes
|
||||||
* [Sonarr](https://sonarr.tv/) - for downloading and managing TV episodes
|
* [Sonarr](https://sonarr.tv/) - for downloading and managing TV episodes
|
||||||
* [Syncthing](https://syncthing.net/) - sync directories with another device
|
* [Syncthing](https://syncthing.net/) - sync directories with another device
|
||||||
|
|
11
docs/applications/sabnzbd.md
Normal file
11
docs/applications/sabnzbd.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Sabnzbd
|
||||||
|
|
||||||
|
Homepage: [https://sabnzbd.org/)
|
||||||
|
|
||||||
|
The time tested Usenet downloader provided with FreeNAS. It just works for those migrating from FreeNAS.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Set `sabnzbd_enabled: true` in your `inventories/<your_inventory>/nas.yml` file.
|
||||||
|
|
||||||
|
The Sabnzbd web interface can be found at http://ansible_nas_host_or_ip:18080. Use this interface to configure the software upon first connection.
|
|
@ -62,6 +62,8 @@ By default, applications can be found on the ports listed below.
|
||||||
| PyTivo | 9032 | Bridge | HTTP |
|
| PyTivo | 9032 | Bridge | HTTP |
|
||||||
| PyTivo | 2190 | Bridge | UDP |
|
| PyTivo | 2190 | Bridge | UDP |
|
||||||
| Radarr | 7878 | Bridge | HTTP |
|
| Radarr | 7878 | Bridge | HTTP |
|
||||||
|
| Sabnzbd | 18080 | Bridge | HTTP |
|
||||||
|
| Sabnzbd | 19090 | Bridge | HTTPS |
|
||||||
| Sickchill | 8081 | Bridge | HTTP |
|
| Sickchill | 8081 | Bridge | HTTP |
|
||||||
| Sonarr | 8989 | Bridge | HTTP |
|
| Sonarr | 8989 | Bridge | HTTP |
|
||||||
| Syncthing admin | 8384 | Host | HTTP |
|
| Syncthing admin | 8384 | Host | HTTP |
|
||||||
|
@ -81,3 +83,4 @@ By default, applications can be found on the ports listed below.
|
||||||
| Wallabag | 7780 | Bridge | HTTP |
|
| Wallabag | 7780 | Bridge | HTTP |
|
||||||
| YouTubeDL-Mater | 8998 | Bridge | HTTP |
|
| YouTubeDL-Mater | 8998 | Bridge | HTTP |
|
||||||
| ZNC | 6677 | Bridge | |
|
| ZNC | 6677 | Bridge | |
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
### Ansible-NAS Applications
|
### Ansible-NAS Applications
|
||||||
###
|
###
|
||||||
|
|
||||||
|
# Downloading
|
||||||
|
sabnzbd_enabled: false
|
||||||
|
|
||||||
# Media Sourcing
|
# Media Sourcing
|
||||||
jellyfin_enabled: false
|
jellyfin_enabled: false
|
||||||
youtubedlmaterial_enabled: false
|
youtubedlmaterial_enabled: false
|
||||||
|
@ -401,3 +404,13 @@ vd_users:
|
||||||
password: "topsecret"
|
password: "topsecret"
|
||||||
sudo: "Y"
|
sudo: "Y"
|
||||||
vd_rdp_port: 3389
|
vd_rdp_port: 3389
|
||||||
|
|
||||||
|
###
|
||||||
|
### Sabnzbd defaults
|
||||||
|
###
|
||||||
|
sabnzbd_available_externally: "false"
|
||||||
|
sabnzbd_data_directory: "{{ docker_home }}/sabnzbd"
|
||||||
|
sabnzbd_user_id: "0"
|
||||||
|
sabnzbd_group_id: "0"
|
||||||
|
sabnzbd_http_port: "18080"
|
||||||
|
sabnzbd_https_port: "19090"
|
||||||
|
|
4
nas.yml
4
nas.yml
|
@ -338,3 +338,7 @@
|
||||||
- import_tasks: tasks/pytivo.yml
|
- import_tasks: tasks/pytivo.yml
|
||||||
when: (pytivo_enabled | default(False))
|
when: (pytivo_enabled | default(False))
|
||||||
tags: pytivo
|
tags: pytivo
|
||||||
|
|
||||||
|
- import_tasks: tasks/sabnzbd.yml
|
||||||
|
when: (sabnzbd_enabled | default(False))
|
||||||
|
tags: sabnzbd
|
||||||
|
|
32
tasks/sabnzbd.yml
Normal file
32
tasks/sabnzbd.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
---
|
||||||
|
- name: Create Sabnzbd Data Directory
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
owner: "{{ sabnzbd_user_id }}"
|
||||||
|
group: "{{ sabnzbd_group_id }}"
|
||||||
|
mode: "u=rwX,g=rwX,o=rX"
|
||||||
|
recurse: true
|
||||||
|
with_items:
|
||||||
|
- "{{ sabnzbd_data_directory }}"
|
||||||
|
|
||||||
|
- name: Sabnzbd
|
||||||
|
docker_container:
|
||||||
|
name: sabnzbd
|
||||||
|
image: linuxserver/sabnzbd
|
||||||
|
pull: true
|
||||||
|
volumes:
|
||||||
|
- "{{ sabnzbd_data_directory }}:/config:rw"
|
||||||
|
ports:
|
||||||
|
- "{{ sabnzbd_http_port }}:8080"
|
||||||
|
- "{{ sabnzbd_https_port }}:9090"
|
||||||
|
env:
|
||||||
|
TZ: "{{ ansible_nas_timezone }}"
|
||||||
|
PUID: "{{ sabnzbd_user_id }}"
|
||||||
|
PGID: "{{ sabnzbd_group_id }}"
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
labels:
|
||||||
|
traefik.backend: "sabnzbd"
|
||||||
|
traefik.frontend.rule: "Host:sabnzbd.{{ ansible_nas_domain }}"
|
||||||
|
traefik.enable: "{{ sabnzbd_available_externally }}"
|
||||||
|
traefik.port: "8080"
|
Loading…
Reference in a new issue