restoring backed up files

This commit is contained in:
2025-10-22 16:52:03 -06:00
parent f088247ac0
commit 78fd63dcb5
6 changed files with 69 additions and 4 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

View File

@@ -15,4 +15,8 @@
- name: Install gotify
import_tasks: gotify.yml
tags: gotify
tags: gotify
- name: Install cronmaster
import_tasks: cronmaster.yml
tags: cronmaster