|
|
|
@ -14,6 +14,7 @@ certbot_hsts: false |
|
|
|
|
certbot_create_if_missing: false |
|
|
|
|
certbot_create_method: standalone |
|
|
|
|
certbot_admin_email: email@example.com |
|
|
|
|
certbot_expand: false |
|
|
|
|
|
|
|
|
|
# Default webroot, overwritten by individual per-cert webroot directories |
|
|
|
|
certbot_webroot: /var/www/letsencrypt |
|
|
|
@ -33,6 +34,7 @@ certbot_create_command: >- |
|
|
|
|
{{ '--test-cert' if certbot_testmode else '' }} |
|
|
|
|
--noninteractive --agree-tos |
|
|
|
|
--email {{ cert_item.email | default(certbot_admin_email) }} |
|
|
|
|
{{ '--expand' if certbot_expand else '' }} |
|
|
|
|
{{ '--webroot-path ' if certbot_create_method == 'webroot' else '' }} |
|
|
|
|
{{ cert_item.webroot | default(certbot_webroot) if certbot_create_method == 'webroot' else '' }} |
|
|
|
|
{{ certbot_create_extra_args }} |
|
|
|
|