certbot(role): support DNS-01 certs using acme-dns
Some checks failed
/ Ansible Lint (push) Has been cancelled

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:46:01 +02:00
commit 0682f78c8c
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
8 changed files with 174 additions and 18 deletions

View file

@ -1,4 +1,14 @@
- name: obtain certificates
- name: obtain http-01 challenge certificates
loop: "{{ certbot__certificate_domains }}"
ansible.builtin.include_tasks:
file: main/http_01_cert.yaml
- name: validate certs config
loop: "{{ certbot__certs }}"
ansible.builtin.include_tasks:
file: main/validate_cert.yaml
- name: obtain certs
loop: "{{ certbot__certs }}"
ansible.builtin.include_tasks:
file: main/cert.yaml