ansible/roles/docker/tasks/beaver.yml

19 lines
432 B
YAML
Raw Normal View History

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