Optimized webport and certbot_dns_api_token

This commit is contained in:
2025-07-15 15:04:27 +02:00
parent 959c48c1a1
commit bbabc58cf9
6 changed files with 16 additions and 9 deletions

View File

@@ -1,4 +1,11 @@
---
- name: "Validate certbot_dns_api_token"
fail:
msg: >
The variable "certbot_dns_api_token" must be defined and cannot be empty!
when: (certbot_dns_api_token|default('')|trim) == ''
- name: "Ensure all CAA records are present"
community.general.cloudflare_dns:
api_token: "{{ certbot_dns_api_token }}"