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,5 +1,3 @@
---
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Pulls backups from a remote server and stores them locally using rsync with retry logic. This role is part of a comprehensive backup scheme and works in conjunction with other roles to ensure reliable backup operations."
@@ -11,24 +9,19 @@ galaxy_info:
https://www.veen.world
min_ansible_version: "2.9"
platforms:
- name: Archlinux
versions:
- rolling
- name: Archlinux
versions:
- rolling
galaxy_tags:
- backup
- remote
- local
- docker
- systemd
- automation
- backup
- remote
- local
- docker
- systemd
- automation
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
documentation: "https://docs.infinito.nexus"
dependencies:
- dev-git
- sys-alm-compose
- sys-cln-bkps-timer
- sys-cln-faild-bkps
- sys-lock
- user-root
- sys-rst-daemon
- sys-cln-bkps-timer
- sys-cln-faild-bkps

View File

@@ -1,3 +1,17 @@
- name: Load former meta dependencies once
block:
- name: Include moved dependencies
include_role:
name: '{{ item }}'
loop:
- dev-git
- sys-alm-compose
- sys-lock
- user-root
- sys-rst-daemon
- set_fact:
run_once_svc_bkp_rmt_2_loc: true
when: run_once_svc_bkp_rmt_2_loc is not defined
- name: "create {{docker_backup_remote_to_local_folder}}"
file:
path: "{{docker_backup_remote_to_local_folder}}"
@@ -11,14 +25,14 @@
mode: 0755
- name: create svc-bkp-rmt-2-loc.infinito.service
template:
src: svc-bkp-rmt-2-loc.service.j2
template:
src: svc-bkp-rmt-2-loc.service.j2
dest: /etc/systemd/system/svc-bkp-rmt-2-loc.infinito.service
notify: reload svc-bkp-rmt-2-loc service
- name: create sys-bkp-rmt-2-loc-multi-provider.sh
template:
src: sys-bkp-rmt-2-loc-multi-provider.sh.j2
template:
src: sys-bkp-rmt-2-loc-multi-provider.sh.j2
dest: "{{docker_backup_remote_to_local_folder}}sys-bkp-rmt-2-loc-multi-provider.sh"
mode: 0755
@@ -30,5 +44,5 @@
include_role:
name: sys-timer
vars:
on_calendar: "{{on_calendar_backup_remote_to_local}}"
on_calendar: "{{on_calendar_backup_remote_to_local}}"