19 lines
480 B
YAML
19 lines
480 B
YAML
- name: make audiobookshelf directories
|
|
ansible.builtin.file:
|
|
path: "{{ item}}"
|
|
state: directory
|
|
loop:
|
|
- /opt/stacks/audiobookshelf
|
|
|
|
- name: Template out the compose file
|
|
ansible.builtin.template:
|
|
src: audiobookshelf-compose.yml.j2
|
|
dest: /opt/stacks/audiobookshelf/compose.yml
|
|
owner: root
|
|
mode: 644
|
|
|
|
- name: deploy audiobookshelf stack
|
|
community.docker.docker_compose_v2:
|
|
project_src: /opt/stacks/audiobookshelf
|
|
files:
|
|
- compose.yml |