ansible/roles/docker/tasks/stirlingpdf.yml

19 lines
450 B
YAML
Raw Normal View History

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