Fix certbot -d argument for new certificates

trim_blocks removed the newline after {% endif %}, so the command became '-d example.org-m mail@...' and certbot refused it. Only hit for domains without an existing certificate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
lhahnandClaude Opus 5.5 committed 2026-10-14 17:59:37 +02:00
1 parent 9c04bfb7d6
commit 3b30ef4100
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@
cmd: | cmd: |
certbot certbot
--nginx --nginx
-d {% if cert_domain is not string and cert_domain is iterable %}{{ cert_domain | join(',') }}{% else %}{{ cert_domain }}{% endif %} -d {{ cert_domain | join(',') if (cert_domain is not string and cert_domain is iterable) else cert_domain }}
-m {{ letsencrypt_mail_address }} -m {{ letsencrypt_mail_address }}
--agree-tos --agree-tos
--noninteractive --noninteractive