An ansible role to setup and configure Sabnzbd under Debian based distro's.
This role requires Ansible 1.6 or higher. Platform requirements are listed in the metadata file.
List of variables that can be passed to the role with default variable values.
sabnzbd_port: 9000
sab_apikey: c48afc846972e295826bb05d2e84dd59
usenet_crawler_api_key: 9d9af7ab6548948fcdc2db864ecd2588
# Default download locations:
media_path: /mnt/media
downloads_path: "{{ media_path }}/downloads"
sabnzbd_incomplete: "{{ downloads_path }}/incomplete/sabnzbd"
# Default Sabnzbd host IP or hostname. Used by other roles.
sabnzbd_host: "{{ ansible_default_ipv4.address }}"
# Uninitialised variables
# User that will run the service and will own downloded files (required)
sabnzbd_user:
newsgroups_servers:
- name:
username:
password:
connections:
This role is a part of htpc-ansible
playbook that includes additional set of components required for HTPC automation.
The following list of roles can be used together with sabnzbd role:
- kodi-client
- kodi-mysql
- htpc-nas
- sickbeard
- couchpotato
- deluge
- nzbtomedia
- htpc-manager
- tvheadend
Detailed info can be found following this link:
https://github.com/GR360RY/htpc-ansible
- hosts: all
sudo: True
vars:
sabnzbd_user: johnd
# Single or multiple news servers can be defined.
newsgroups_servers:
- name: news.someserver.com
username: foo
password: bar
connections: 10
- name: eu.news.someserver.com
username: foo
password: bar
connections: 10
roles:
- role: sabnzbd
BSD
Gregory Shulov