You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Laur Ivan d8ca6c53e2 chore(release): 1.2.0 1 month ago
.github chore: Add funding. 1 year ago
defaults feat: Add FlareSolverr docker 1 month ago
handlers More cleanup. 1 year ago
meta More cleanup. 1 year ago
molecule More cleanup. 1 year ago
tasks feat: Add FlareSolverr docker 1 month ago
templates feat: Add FlareSolverr docker 1 month ago
tests More cleanup. 1 year ago
vars More cleanup. 1 year ago
.ansible-lint Linting. 1 year ago
.gitignore Initial commit. 1 year ago
.travis.yml More cleanup. 1 year ago
.yamllint Initial commit. 1 year ago
CHANGELOG.md chore(release): 1.2.0 1 month ago
LICENSE Initial commit. 1 year ago
README.md Linting. 1 year ago

README.md

laurivan.arrs

This role installs Sonarr, Lidarr, Jackett and Deluge in Docker for a perfect combo.

Requirements

None

Role Variables

All variables are listed below (see also defaults/main.yml).

Common variables

You need to specify:

  • The timezone
  • The location where torrents will be downloaded
  • The location where different configuration files are stored
  • The place where docker-compose.yml and the environment files are stored
timezone: 'Europe/Brussels'
torrent_downloads_volume: '/mnt/download'
arrs_configuration_volume: '/mnt/config'
arrs_setup_path: '~/arrs'

If you need to install the containers with a specific user/group ID, then define:

arrs_uid:
arrs_gid:

The role allows oyu to specify which components will be installed:

deluge_enabled: true 
sonarr_enabled: true 
lidarr_enabled: true 
jackett_enabled: true

Deluge torrent

You can specify the image version and the log level:

deluge_image_version: 'latest'
deluge_loglevel: 'warning'

Deluge works on ports 6881 and 8112. You can change these ports:

deluge_host_port: 6881
deluge_admin_port: 8112

You can also overwrite the location where deluge's configuration is stored (e.g. if you already have deluge installed and you want to use the Ansible role):

deluge_config_volume: '{{ arrs_configuration_volume }}/deluge'

Radarr

You can specify the image version and the port exposed:

radarr_image_version: 'latest'
radarr_host_port: 7878

You can also overwrite the location where radarr's configuration is stored (e.g. if you already have it installed and you want to use the Ansible role):

radarr_config_volume: '{{ arrs_configuration_volume }}/radarr'

Radarr needs a place to copy the downloaded series:

radarr_series_volume: '/mnt/videos/Movies'

Notes:

  • Depending on your settings, it will also rename your current series
  • You need write access to that directory, so Sonarr can actually copy the files

Sonarr

You can specify the image version and the port exposed:

sonarr_image_version: 'latest'
sonarr_host_port: 8989

You can also overwrite the location where sonarr's configuration is stored (e.g. if you already have it installed and you want to use the Ansible role):

sonarr_config_volume: '{{ arrs_configuration_volume }}/sonarr'

Sonarr needs a place to copy the downloaded series:

sonarr_series_volume: '/mnt/videos/Series'

Notes:

  • Depending on your settings, it will also rename your current series
  • You need write access to that directory, so Sonarr can actually copy the files

Lidarr

You can specify the image version and the port exposed:

lidarr_image_version: 'latest'
lidarr_host_port: 8686

You can also overwrite the location where lidarr's configuration is stored (e.g. if you already have it installed and you want to use the Ansible role):

lidarr_config_volume: '{{ arrs_configuration_volume }}/lidarr'

Lidarr needs a place to copy the downloaded music:

lidarr_music_upload_volume: '/mnt/music/Reference'

You will need to add a reference to your music collection (so you don't download what you already have). The layout below allows for multiple collections:

lidarr_music_volumes: 
  - {path: '/mnt/music/Sonos', alias: 'sonos' }
  - {path: '/mnt/music/Audiophile', alias: 'audiophile' }
  - {path: '/mnt/music/Raw', alias: 'raw' }

The path is the actual directory where the collection is located and the alias is the internal mapping name in Docker.

Jakett

You can specify the image version, the port exposed and to autoupdate:

jackett_image_version: 'latest'
jackett_auto_update: true
jackett_host_port: 9117

You can also overwrite the location where jackett's configuration is stored (e.g. if you already have it installed and you want to use the Ansible role):

jackett_config_volume: '{{ arrs_configuration_volume }}/jackett'

Dependencies

You need a machine with docker and docker-compose installed.

Example Playbook

- hosts: servers
  roles:
      - 'laurivan.arrs'

License

MIT

Author Information

This role was created in 2022 by Laur Ivan.