feat: add dir2opds OPDS book catalog service (tailnet-only)

This commit is contained in:
Phillip Skentelbery
2026-06-29 18:30:30 -06:00
parent 3e0b2054a9
commit a2b31ea1d1
4 changed files with 58 additions and 2 deletions
+26
View File
@@ -0,0 +1,26 @@
- name: make dir2opds directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/dir2opds
- name: make dir2opds book directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/dir2opds/books
- name: Template out the compose file
ansible.builtin.template:
src: dir2opds-compose.yml.j2
dest: /opt/stacks/dir2opds/compose.yml
owner: root
mode: 644
- name: deploy dir2opds stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/dir2opds
files:
- compose.yml
+5 -1
View File
@@ -29,4 +29,8 @@
- name: Install manyfold
import_tasks: manyfold.yml
tags: manyfold
tags: manyfold
- name: Install dir2opds
import_tasks: dir2opds.yml
tags: dir2opds