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,4 +1,14 @@
---
- name: Load former meta dependencies once
block:
- name: Include moved dependencies
include_role:
name: '{{ item }}'
loop:
- srv-web-7-4-core
- sys-rst-daemon
- set_fact:
run_once_sys_cln_domains: true
when: run_once_sys_cln_domains is not defined
- name: Include task to remove deprecated nginx configs
include_tasks: remove_deprecated_nginx_configs.yml
loop: "{{ deprecated_domains }}"
@@ -7,8 +17,8 @@
vars:
domain: "{{ item }}"
when:
- mode_cleanup | bool
- run_once_sys_cln_domains is not defined
- mode_cleanup | bool
- run_once_sys_cln_domains is not defined
## The revoking just works for the base domain
#- name: "Revoke Certbot certificate for {{ item }}"