added pinry to stack

This commit is contained in:
2024-10-26 12:07:26 -06:00
parent c9d3fa0397
commit b67378e3d1
4 changed files with 43 additions and 1 deletions

View File

@ -104,4 +104,8 @@
- name: Install postiz
import_tasks: postiz.yml
tags: postiz
tags: postiz
- name: Install pinry
import_tasks: pinry.yml
tags: pinry

View File

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