Optimized tests für run once

This commit is contained in:
2025-08-12 02:38:37 +02:00
parent 82aaf7ad74
commit 1595a7c4a6
148 changed files with 1803 additions and 1147 deletions

View File

@@ -1,3 +1,11 @@
- name: Load former meta dependencies once
block:
- name: Include moved dependency 'sys-alm-compose'
include_role:
name: sys-alm-compose
- set_fact:
run_once_sys_hlth_disc_space: true
when: run_once_sys_hlth_disc_space is not defined
- name: "create {{health_disc_space_folder}}"
file:
path: "{{health_disc_space_folder}}"
@@ -10,7 +18,7 @@
dest: "{{health_disc_space_folder}}sys-hlth-disc-space.sh"
- name: create sys-hlth-disc-space.infinito.service
template:
template:
src: sys-hlth-disc-space.service.j2
dest: /etc/systemd/system/sys-hlth-disc-space.infinito.service
notify: reload sys-hlth-disc-space.infinito.service
@@ -23,4 +31,4 @@
include_role:
name: sys-timer
vars:
on_calendar: "{{on_calendar_health_disc_space}}"
on_calendar: "{{on_calendar_health_disc_space}}"