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-telegram'
include_role:
name: sys-alm-telegram
- set_fact:
run_once_sys_hlth_msmtp: true
when: run_once_sys_hlth_msmtp is not defined
- name: "create {{ health_msmtp_folder }}"
file:
path: "{{ health_msmtp_folder }}"
@@ -6,7 +14,7 @@
- name: create sys-hlth-msmtp.sh
template:
src: sys-hlth-msmtp.sh.j2
src: sys-hlth-msmtp.sh.j2
dest: "{{ health_msmtp_folder }}sys-hlth-msmtp.sh"
mode: '0755'
@@ -24,4 +32,4 @@
include_role:
name: sys-timer
vars:
on_calendar: "{{ on_calendar_health_msmtp }}"
on_calendar: "{{ on_calendar_health_msmtp }}"