ansible/roles/docker/tasks/heyform.yml

19 lines
438 B
YAML
Raw Normal View History

2024-11-11 19:58:14 +01:00
- name: make heyform directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/heyform
- name: Template out the compose file
ansible.builtin.template:
src: heyform-compose.yml.j2
dest: /opt/stacks/heyform/compose.yml
owner: root
mode: 644
- name: deploy heyform stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/heyform
files:
- compose.yml