ansible-role-sonarr

Installs Sonarr on Debian-based distributions using the official apt repository.

The package creates a sonarr user by default. Set sonarr_user and sonarr_group to use a pre-existing user (must be created by a separate role beforehand).

Requirements

  • Ansible >= 2.14
  • Debian or Ubuntu

Role Variables

Variable Default Description
sonarr_user sonarr User to run Sonarr as
sonarr_group sonarr Group to run Sonarr as
sonarr_apt_repo_release {{ ansible_distribution_release }} Debian release codename
sonarr_service_enabled true Enable service at boot
sonarr_service_state started Service state after installation

Example Playbook

- hosts: servers
  roles:
    - role: ansible-role-sonarr
      vars:
        sonarr_user: sonarr
        sonarr_group: sonarr

License

MIT

Description
Install Sonarr on Debian-based distributions
Readme 27 KiB