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_journalctl: true
when: run_once_sys_hlth_journalctl is not defined
- name: "create {{health_journalctl_folder}}"
file:
path: "{{health_journalctl_folder}}"
@@ -10,7 +18,7 @@
dest: "{{health_journalctl_folder}}sys-hlth-journalctl.sh"
- name: create sys-hlth-journalctl.infinito.service
template:
template:
src: sys-hlth-journalctl.service.j2
dest: /etc/systemd/system/sys-hlth-journalctl.infinito.service
notify: reload sys-hlth-journalctl.infinito.service
@@ -23,4 +31,4 @@
include_role:
name: sys-timer
vars:
on_calendar: "{{on_calendar_health_journalctl}}"
on_calendar: "{{on_calendar_health_journalctl}}"