Added stirling pdf to stack

This commit is contained in:
2024-09-23 12:19:14 -06:00
parent c11b90f04e
commit 50138230b4
4 changed files with 57 additions and 1 deletions

View File

@ -92,4 +92,8 @@
- name: Install glance
import_tasks: glance.yml
tags: glance
tags: glance
- name: Install stirlingpdf
import_tasks: stirlingpdf.yml
tags: stirlingpdf

View File

@ -0,0 +1,19 @@
- name: make stirling directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/stirling
- name: Template out the compose file
ansible.builtin.template:
src: stirling-compose.yml.j2
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