added postiz to stack and associated caddy and glance config

This commit is contained in:
2024-10-22 11:24:41 -06:00
parent ba5b3f36dc
commit 2136dbf7d4
5 changed files with 111 additions and 1 deletions

View File

@ -100,4 +100,8 @@
- name: Install pingvin
import_tasks: pingvin.yml
tags: pingvin
tags: pingvin
- name: Install postiz
import_tasks: postiz.yml
tags: postiz

View File

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