added postiz to stack and associated caddy and glance config
This commit is contained in:
@ -100,4 +100,8 @@
|
||||
|
||||
- name: Install pingvin
|
||||
import_tasks: pingvin.yml
|
||||
tags: pingvin
|
||||
tags: pingvin
|
||||
|
||||
- name: Install postiz
|
||||
import_tasks: postiz.yml
|
||||
tags: postiz
|
19
roles/docker/tasks/postiz.yml
Normal file
19
roles/docker/tasks/postiz.yml
Normal 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
|
Reference in New Issue
Block a user