Add calibre and calibre-web to stack

This commit is contained in:
2024-11-01 19:02:45 -06:00
parent c7b5d52d7d
commit b47fc8657d
5 changed files with 54 additions and 1 deletions

View File

@ -0,0 +1,19 @@
- name: make calibre directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/calibre
- name: Template out the compose file
ansible.builtin.template:
src: calibre-compose.yml.j2
dest: /opt/stacks/calibre/compose.yml
owner: root
mode: 644
- name: deploy calibre stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/calibre
files:
- compose.yml

View File

@ -112,4 +112,8 @@
- name: Install audiobookshelf
import_tasks: audiobookshelf.yml
tags: audiobookshelf
tags: audiobookshelf
- name: Install calibre
import_tasks: calibre.yml
tags: calibre