ansible/roles/docker/tasks/pinry.yml

19 lines
426 B
YAML
Raw Normal View History

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