added abs configuration

This commit is contained in:
Jayne Passmore 2025-10-10 20:21:49 -05:00
parent e1b2a98ba8
commit a07f9fdf53
2 changed files with 33 additions and 0 deletions

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,24 @@
#SPDX-License-Identifier: MIT-0
---
# 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