feat: initial installation role for sonarr
This commit is contained in:
36
README.md
Normal file
36
README.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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
|
||||
|
||||
```yaml
|
||||
- hosts: servers
|
||||
roles:
|
||||
- role: ansible-role-sonarr
|
||||
vars:
|
||||
sonarr_user: sonarr
|
||||
sonarr_group: sonarr
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user