ansible/roles/docker/tasks/pingvin.yml

19 lines
438 B
YAML
Raw Normal View History

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