Compare commits

..

3 commits

Author SHA1 Message Date
0729cf38cf updated tags in readme 2025-10-11 12:24:43 -05:00
a07f9fdf53 added abs configuration 2025-10-10 20:21:49 -05:00
e1b2a98ba8 Added role information 2025-10-10 18:31:59 -05:00
7 changed files with 42 additions and 9 deletions

View file

@ -1,12 +1,12 @@
role-audiobookshelf role-audiobookshelf
========= =========
A brief description of the role goes here. This role installs and configures audiobookshelf, which is a web-based tool for downloading and listening to audiobooks and podcasts
Requirements Requirements
------------ ------------
No requirements certbot nginx-ssl
Role Variables Role Variables
-------------- --------------
@ -23,8 +23,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:audiobookshelf:v1.0:workload,audiobookshelf
role:mount:testing:core,mount role:audiobookshelf:testing:workload,audiobookshelf
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 audiobookshelf

12
files/audiobookshelf Normal file
View file

@ -0,0 +1,12 @@
NODE_ENV=production
METADATA_PATH=/mnt/audiobookshelf/metadata
CONFIG_PATH=/mnt/audiobookshelf/config
SOURCE=archlinux
FFMPEG_PATH=/usr/bin/ffmpeg
FFPROBE_PATH=/usr/bin/ffprobe
NUSQLITE3_PATH=/usr/lib/libnusqlite3.so
SKIP_BINARIES_CHECK=1
PORT=13378
HOST=0.0.0.0
# ROUTER_BASE_PATH="/audiobookshelf"
# ALLOW_IFRAME=1

View file

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

View file

@ -1,3 +1,24 @@
#SPDX-License-Identifier: MIT-0 #SPDX-License-Identifier: MIT-0
--- ---
# tasks file for ${REPO_NAME} # tasks file for audiobookshelf
- name: install jack2
ansible.builtin.package:
name: jack2
state: present
- name: install audiobookshelf
ansible.builtin.package:
name: audiobookshelf
state: present
- name: deploy audiobookshelf config
ansible.builtin.copy:
src: files/audiobookshelf
dest: /etc/conf.d/audiobookshelf
mode: '0644'
- name: ensure audiobookshelf is running
service:
name: audiobookshelf
state: started
enabled: yes

View file

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

View file

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