Replaced depenencies by includes for performance reasons

This commit is contained in:
2025-08-12 03:08:33 +02:00
parent 8634b5e1b3
commit 1a42e8bd14
89 changed files with 716 additions and 830 deletions

View File

@@ -1,14 +1,13 @@
- name: Load former meta dependencies once
block:
- name: Include moved dependencies
- block:
- name: Include dependencies
include_role:
name: '{{ item }}'
loop:
- sys-cln-bkps-service
- sys-lock
- set_fact:
run_once_svc_bkp_loc_2_usb: true
- include_tasks: utils/run_once.yml
when: run_once_svc_bkp_loc_2_usb is not defined
- name: Fail if any backup_to_usb variable is empty
assert:
that:
@@ -21,7 +20,7 @@
- mount
- target
- source
to nonempty values in your configuration file.
to nonempty values in your configuration file.
- name: Copy backup script to the scripts directory
copy: