initial readarr configuration

This commit is contained in:
Beth Parker 2025-03-19 23:39:40 -05:00
parent 6d81f2f0a0
commit 29bce623f9
6 changed files with 27 additions and 9 deletions

View file

@ -1,12 +1,13 @@
role-readarr role-readarr
========= =========
A brief description of the role goes here. This role adds a readarr server and deploys existing configuration
Requirements Requirements
------------ ------------
No requirements certbot
nginx-ssl
Role Variables 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: 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:readarr:v1.0:workload,readarr
role:mount:testing:core,mount role:readarr:testing:workload,readarr
License License
------- -------

View file

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

View file

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

View file

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

View file

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

View file

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