Radarr
Movie Management.
Ansible Role: radarr
You can copy your existing configuration to radarr_config
directory
adjusting for paths.
The UID/GID should be set to a user/group that has access to your media. All media clients should run under the same user to run correctly.
Your downloader will report the download path mapped in the downloader service. You need to map this exact path in Radarr for it to be able to post-process downloads properly.
See Basic Configuration for example configuration.
# Radarr
Radarr installation from public release tarball.
## Requirements
No additional requirements.
## Role Variables
Settings have been throughly documented for usage.
[defaults/main.yml](https://github.com/r-pufky/ansible_radarr/blob/main/defaults/main/main.yml).
### Ports
All ports and protocols have been defined for the role.
Hosts should only define firewall rules for ports they need.
[defaults/ports.yml](https://github.com/r-pufky/ansible_radarr/blob/main/defaults/main/ports.yml).
## Dependencies
N/A
## Example Playbook
host_vars/radarr.example.com/vars/radarr.yml
``` yaml
radarr_api_key: '{{ vault_radarr_api_key }}'
radarr_update_automatically: true
radarr_port: '8989'
```
site.yml
``` yaml
- name: 'radarr server'
hosts: 'radarr.example.com'
become: true
roles:
- 'r_pufky.radarr'
```
## Issues
Create a bug and provide as much information as possible.
Associate pull requests with a submitted bug.
## License
[AGPL-3.0 License](https://github.com/r-pufky/ansible_radarr/blob/main/LICENSE)
## Author Information
https://keybase.io/rpufky
None
Role Details: Updated: 2022-10-08 galaxy source service docs
Ports
---
###############################################################################
# Ports Configuration
###############################################################################
# Ports should be managed externally via an OS role.
#
# Reference:
# * https://docs.ansible.com/ansible/latest/collections/community/general/ufw_module.html
ports:
- {proto: 'tcp', from_ip: 'any', to_port: 7878, direction: 'in', comment: 'radarr http'}
- {proto: 'tcp', from_ip: '127.0.0.1', to_port: 7878, direction: 'in', comment: 'radarr http api'}
- {proto: 'tcp', from_ip: 'any', to_port: 9898, direction: 'in', comment: 'radarr https'}
- {proto: 'tcp', from_ip: '127.0.0.1', to_port: 9898, direction: 'in', comment: 'radarr https api'}
Defaults
---
###############################################################################
# Radarr Role Configuration
###############################################################################
# User that radarr will run under. Assumes externally managed.
radarr_user: 'media'
radarr_group: 'media'
# Create 'media' user if not detected? See: vars/main.yml.
radarr_create_user: false
# Generic architecture for platform: x64, arm, arm64
radarr_arch_generic: 'x64'
# C architecture for platform: linux, linuxmusl
radarr_arch_c: 'linux'
# Installation directory
radarr_dir: '/var/lib/radarr'
# Configuration directory
radarr_config: '/var/lib/radarr-config'
# Staging directory for backups
radarr_staging: '/var/lib/radarr-staging'
# Target location of backup file on ansible host.
radarr_local_backup: 'host_vars/data/radarr-config.tar.gz'
###############################################################################
# Radarr config.xml Configuration
###############################################################################
radarr_port: '7878' # http port
radarr_bind_address: '*'
# Radarr requires ssl port to be defined even if unused
radarr_ssl_port: '9898' # https port
radarr_enable_ssl: false
radarr_api_key: ''
radarr_authentication_method: 'None'
radarr_log_level: 'info'
radarr_launch_browser: false # Default: undefined
radarr_branch: 'master'
radarr_ssl_cert_hash: ''
radarr_update_mechanism: 'BuiltIn'
radarr_analytics_enabled: false # Default: undefined
radarr_update_automatically: false # Default: undefined
radarr_url_base: ''