added audiobookshelf to stack
This commit is contained in:
19
roles/docker/tasks/audiobookshelf.yml
Normal file
19
roles/docker/tasks/audiobookshelf.yml
Normal file
@ -0,0 +1,19 @@
|
||||
- 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
|
@ -108,4 +108,8 @@
|
||||
|
||||
- name: Install pinry
|
||||
import_tasks: pinry.yml
|
||||
tags: pinry
|
||||
tags: pinry
|
||||
|
||||
- name: Install audiobookshelf
|
||||
import_tasks: audiobookshelf.yml
|
||||
tags: audiobookshelf
|
Reference in New Issue
Block a user