ansible/roles/docker/tasks/baikal.yml
2024-12-10 07:05:55 -07:00

19 lines
432 B
YAML

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