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
|
||||
Reference in New Issue
Block a user