certbot(role): allow empty list of certificate domains
All checks were successful
/ Ansible Lint (push) Successful in 11m4s

Also explicitly document that they are used with the HTTP-01 challenge.
This is in preparation for adding a new option with DNS-01 challenge
support.
This commit is contained in:
June 2026-03-02 20:07:12 +01:00
commit fee18bd349
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
3 changed files with 4 additions and 2 deletions

View file

@ -9,10 +9,10 @@ Also see the following documentation for a full How-to on how to get certificate
## Required Arguments
- `certbot__acme_account_email_address`: The E-Mail address to use for the ACME account.
- `certbot__certificate_domains`: The domains for which to obtain a certificate.
## Optional Arguments
- `certbot__certificate_domains`: The domains for which to obtain a certificate using the HTTP-01 challenge.
- `certbot__http_01_port`: The port number the bot listens on. Should be `80` if directly exposed to the internet.
Defaults to `31820` (for the public-reverse-proxy setup).
- `certbot__new_cert_commands`: A list of commands to execute after getting a new certificate. Will be added into a bash script.