certbot(role): support DNS-01 certs using acme-dns
All checks were successful
/ Ansible Lint (push) Successful in 3m36s

Introduce new configuration structure called certbot__certs, which
allows for different challenge types per cert with the first challenge
type supported being dns-01-acme-dns.
This commit is contained in:
June 2026-03-31 16:48:00 +02:00
commit 8bf6dfbefb
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
9 changed files with 188 additions and 18 deletions

View file

@ -13,6 +13,25 @@ argument_specs:
type: str
required: false
default: 31820
certbot__certs:
type: list
elements: dict
required: false
default: [ ]
options:
commonName:
type: str
required: true
# ToDo: subjectAlternativeNames:
challengeType:
type: str
required: true
choices:
- dns-01-acme-dns
dns_01_acme_dns:
type: dict
required: false
# Further checking done in tasks/validate_cert.yaml
certbot__new_cert_commands:
type: list
elements: str