initial radarr config

This commit is contained in:
Beth Parker 2025-03-19 23:40:41 -05:00
parent 32e01631b7
commit d3d8d7cef6
6 changed files with 27 additions and 9 deletions

View file

@ -1,12 +1,13 @@
role-radarr
=========
A brief description of the role goes here.
This role adds a radarr server and deploys existing configuration
Requirements
------------
No requirements
certbot
nginx-ssl
Role Variables
--------------
@ -23,8 +24,8 @@ Example Playbook Template
Playbook creation should be handled by playbook-builder. To include role in a playbook, add one of these lines (changing version/branch as needed) to the template with other core entries:
role:mount:v1.0:core,mount
role:mount:testing:core,mount
role:radarr:v1.0:workload,radarr
role:radarr:testing:workload,radarr
License
-------

View file

@ -1,3 +1,3 @@
#SPDX-License-Identifier: MIT-0
---
# defaults file for ${REPO_NAME}
# defaults file for role-radarr

View file

@ -1,3 +1,3 @@
#SPDX-License-Identifier: MIT-0
---
# handlers file for ${REPO_NAME}
# handlers file for role-radarr

View file

@ -1,3 +1,20 @@
#SPDX-License-Identifier: MIT-0
---
# tasks file for ${REPO_NAME}
# tasks file for role-radarr
- name: radarr symlink
file:
src: /mnt/data/radarr
name: /var/lib/radarr
state: link
- name: install radarr
ansible.builtin.package:
name: radarr
state: present
- name: ensure radarr is running
service:
name: radarr
state: started
enabled: yes

View file

@ -3,4 +3,4 @@
- hosts: localhost
remote_user: root
roles:
- ${REPO_NAME}
- role-radarr

View file

@ -1,3 +1,3 @@
#SPDX-License-Identifier: MIT-0
---
# vars file for ${REPO_NAME}
# vars file for role-radarr