added cronmaster

This commit is contained in:
2025-09-17 23:42:02 -06:00
parent ace5fc1d18
commit 997cd4f944
3 changed files with 59 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
- name: make cronmaster directories
ansible.builtin.file:
path: "{{ item }}"
state: directory
loop:
- /opt/stacks/cronmaster
- /opt/stacks/cronmaster/scripts
- /opt/stacks/cronmaster/data
- /opt/stacks/cronmaster/snippets
- name: Template out the compose file
ansible.builtin.template:
src: cronmaster-compose.yml.j2
dest: /opt/stacks/cronmaster/compose.yml
owner: root
mode: '0644'
- name: deploy cronmaster stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/cronmaster
files:
- compose.yml