feat: initial installation role for radarr
This commit is contained in:
39
README.md
Normal file
39
README.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# ansible-role-radarr
|
||||
|
||||
Installs Radarr from GitHub releases on Linux. The role detects the current
|
||||
architecture and downloads the matching binary. It is idempotent: re-running
|
||||
the role only downloads and extracts if the installed version differs.
|
||||
|
||||
The service user and group must be created beforehand (e.g. via a users role).
|
||||
|
||||
## Requirements
|
||||
|
||||
- Ansible >= 2.14
|
||||
- `sqlite3` package on the target host
|
||||
|
||||
## Role Variables
|
||||
|
||||
| Variable | Default | Description |
|
||||
|---|---|---|
|
||||
| `radarr_version` | `""` | Version to install (empty = latest) |
|
||||
| `radarr_user` | `radarr` | System user to run Radarr |
|
||||
| `radarr_group` | `radarr` | System group to run Radarr |
|
||||
| `radarr_install_dir` | `/opt/radarr` | Binary installation directory |
|
||||
| `radarr_data_dir` | `/var/lib/radarr` | Data and config directory |
|
||||
| `radarr_service_enabled` | `true` | Enable service at boot |
|
||||
| `radarr_service_state` | `started` | Service state after installation |
|
||||
|
||||
## Example Playbook
|
||||
|
||||
```yaml
|
||||
- hosts: servers
|
||||
roles:
|
||||
- role: ansible-role-radarr
|
||||
vars:
|
||||
radarr_user: radarr
|
||||
radarr_group: radarr
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user