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