Compare commits
No commits in common. "testing" and "prod" have entirely different histories.
7 changed files with 9 additions and 42 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
role-audiobookshelf
|
role-audiobookshelf
|
||||||
=========
|
=========
|
||||||
|
|
||||||
This role installs and configures audiobookshelf, which is a web-based tool for downloading and listening to audiobooks and podcasts
|
A brief description of the role goes here.
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
certbot nginx-ssl
|
No requirements
|
||||||
|
|
||||||
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:audiobookshelf:v1.0:workload,audiobookshelf
|
role:mount:v1.0:core,mount
|
||||||
role:audiobookshelf:testing:workload,audiobookshelf
|
role:mount:testing:core,mount
|
||||||
|
|
||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
#SPDX-License-Identifier: MIT-0
|
#SPDX-License-Identifier: MIT-0
|
||||||
---
|
---
|
||||||
# defaults file for audiobookshelf
|
# defaults file for ${REPO_NAME}
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
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
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
#SPDX-License-Identifier: MIT-0
|
#SPDX-License-Identifier: MIT-0
|
||||||
---
|
---
|
||||||
# handlers file for audiobookshelf
|
# handlers file for ${REPO_NAME}
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,3 @@
|
||||||
#SPDX-License-Identifier: MIT-0
|
#SPDX-License-Identifier: MIT-0
|
||||||
---
|
---
|
||||||
# tasks file for audiobookshelf
|
# tasks file for ${REPO_NAME}
|
||||||
- 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
|
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
remote_user: root
|
remote_user: root
|
||||||
roles:
|
roles:
|
||||||
- audiobookshelf
|
- ${REPO_NAME}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
#SPDX-License-Identifier: MIT-0
|
#SPDX-License-Identifier: MIT-0
|
||||||
---
|
---
|
||||||
# vars file for audiobookshelf
|
# vars file for ${REPO_NAME}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue