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