cmacrae.sonarr

Sonarr

This is a guide for setting up Sonarr, a smart Personal Video Recorder (PVR) for users of newsgroups and BitTorrent.

Requirements

You need Ansible version 2.0 or higher to use this guide.

Supported Platforms

  • Ubuntu: 15.04
  • Debian: 8
  • EL: 7

Role Variables

All settings have default values, which you can check in the defaults/main.yml file. This version includes the following settings:

Defaults

Name Default Value Description
sonarr_user_name sonarr Username to run the Sonarr service
sonarr_group_name sonarr Main group for sonarr_user_name
sonarr_user_uid 1005 User ID for the Sonarr service user
sonarr_group_gid 1005 Group ID for the Sonarr service group
sonarr_user_home /var/lib/{{ sonarr_user_name }} Home directory for the Sonarr user
sonarr_exe_url Check defaults/main.yml URL to download the Sonarr package
sonarr_data_path {{ sonarr_user_home }}/data Main data directory for Sonarr
sonarr_dependencies - mono-devel List of required packages for Sonarr
sonarr_mono_gpg_key Check defaults/main.yml URL for the Mono package repository key
sonarr_service_file
src sonarr.service.j2 Template for the Sonarr service file
dest /etc/systemd/system/sonarr.service Where to save the Sonarr service file
sonarr_service_reload_command systemctl daemon-reload Command to reload Sonarr's configuration

Example Playbook

Here’s how to use this role in a playbook:

- hosts: sonarr_servers
  roles:
    - role: cmacrae.sonarr

Or, you can customize it by passing specific values:

- hosts: sonarr_servers
  roles:
    - { role: cmacrae.sonarr, sonarr_user_name: downld, sonarr_group_name: downld }

License

MIT

Author Information

This guide was created by Calum MacRae.

Feel free to:
Contact me - @calumacrae, mailto:[email protected]
Report an issue
Contribute

Informazioni sul progetto

Deploy Sonarr, a mart PVR for newsgroup and bittorrent users

Installa
ansible-galaxy install cmacrae.sonarr
Licenza
Unknown
Download
248
Proprietario