feat: add dir2opds OPDS book catalog service (tailnet-only)
This commit is contained in:
@@ -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
|
||||
@@ -29,4 +29,8 @@
|
||||
|
||||
- name: Install manyfold
|
||||
import_tasks: manyfold.yml
|
||||
tags: manyfold
|
||||
tags: manyfold
|
||||
|
||||
- name: Install dir2opds
|
||||
import_tasks: dir2opds.yml
|
||||
tags: dir2opds
|
||||
Reference in New Issue
Block a user