Optimized DKIM and DNS for mailu and Letsencrypt. Solved some bugs

This commit is contained in:
2025-04-29 20:24:09 +02:00
parent f4db4ca6ea
commit fa9831ef08
9 changed files with 84 additions and 54 deletions

View File

@@ -1,17 +1,4 @@
---
# tasks/main.yml
# Creates and sets CAA records (issue, issuewild, iodef) for all base domains
- name: "Define CAA entries"
set_fact:
caa_entries:
- tag: issue
value: "letsencrypt.org"
- tag: issuewild
value: "letsencrypt.org"
- tag: iodef
value: "mailto:{{ users.administrator.email }}"
- name: "Ensure all CAA records are present"
community.general.cloudflare_dns:
api_token: "{{ certbot_dns_api_token }}"