feat: initial installation role for prowlarr
This commit is contained in:
38
README.md
Normal file
38
README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# ansible-role-prowlarr
|
||||
|
||||
Installs Prowlarr from GitHub releases on Linux. Architecture is auto-detected.
|
||||
The role is idempotent: re-running only installs if the version has changed.
|
||||
|
||||
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 |
|
||||
|---|---|---|
|
||||
| `prowlarr_version` | `""` | Version to install (empty = latest) |
|
||||
| `prowlarr_user` | `prowlarr` | System user to run Prowlarr |
|
||||
| `prowlarr_group` | `prowlarr` | System group to run Prowlarr |
|
||||
| `prowlarr_install_dir` | `/opt/prowlarr` | Binary installation directory |
|
||||
| `prowlarr_data_dir` | `/var/lib/prowlarr` | Data and config directory |
|
||||
| `prowlarr_service_enabled` | `true` | Enable service at boot |
|
||||
| `prowlarr_service_state` | `started` | Service state after installation |
|
||||
|
||||
## Example Playbook
|
||||
|
||||
```yaml
|
||||
- hosts: servers
|
||||
roles:
|
||||
- role: ansible-role-prowlarr
|
||||
vars:
|
||||
prowlarr_user: prowlarr
|
||||
prowlarr_group: prowlarr
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user