feat: add koreader sync server + fix apt cache in caddy task
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
- name: make kosync directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/stacks/kosync
|
||||
- /opt/stacks/kosync/logs/app
|
||||
- /opt/stacks/kosync/logs/redis
|
||||
- /opt/stacks/kosync/data/redis
|
||||
|
||||
- name: Template out the compose file
|
||||
ansible.builtin.template:
|
||||
src: kosync-compose.yml.j2
|
||||
dest: /opt/stacks/kosync/compose.yml
|
||||
owner: root
|
||||
mode: 644
|
||||
|
||||
- name: deploy kosync stack
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /opt/stacks/kosync
|
||||
files:
|
||||
- compose.yml
|
||||
@@ -33,4 +33,8 @@
|
||||
|
||||
- name: Install dir2opds
|
||||
import_tasks: dir2opds.yml
|
||||
tags: dir2opds
|
||||
tags: dir2opds
|
||||
|
||||
- name: Install koreader sync server
|
||||
import_tasks: kosync.yml
|
||||
tags: kosync
|
||||
Reference in New Issue
Block a user