initial bazarr config

This commit is contained in:
Beth Parker 2025-03-19 23:31:27 -05:00
parent c71d61dfd8
commit 9a90c9d4c8
6 changed files with 27 additions and 9 deletions

View file

@ -1,12 +1,13 @@
role-bazarr
=========
A brief description of the role goes here.
This role adds a bazarr 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:bazarr:v1.0:workload,bazarr
role:bazarr:testing:workload,bazarr
License
-------

View file

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

View file

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

View file

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

View file

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

View file

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