Replaced depenencies by includes for performance reasons

This commit is contained in:
2025-08-12 03:08:33 +02:00
parent 8634b5e1b3
commit 1a42e8bd14
89 changed files with 716 additions and 830 deletions

View File

@@ -1,21 +1,4 @@
- name: Load former meta dependencies once
block:
- name: Include moved dependency 'srv-web-6-6-tls-renew'
include_role:
name: srv-web-6-6-tls-renew
- set_fact:
run_once_srv_web_7_7_letsencrypt: true
when: run_once_srv_web_7_7_letsencrypt is not defined
- block:
- name: create nginx letsencrypt config file
template:
src: "letsencrypt.conf.j2"
dest: "{{nginx.directories.http.global}}letsencrypt.conf"
notify: restart openresty
- name: "Set CAA records for all base domains"
include_tasks: 01_set-caa-records.yml
when: dns_provider == 'cloudflare'
- include_tasks: 01_core.yml
- include_tasks: utils/run_once.yml
when: run_once_srv_web_7_7_letsencrypt is not defined