Fix issue in certificate creation command

This commit is contained in:
Simon Spannagel 2020-02-07 18:16:39 +01:00
parent 50d8921ec2
commit 23447ec217

View File

@ -25,7 +25,7 @@ certbot_certs: []
certbot_create_command: >-
{{ certbot_script }} certonly --{{ certbot_create_method }}
{{ `-w ` if certbot_create_method == 'webroot' else '' }}
{{ '-w ' if certbot_create_method == 'webroot' else '' }}
{{ cert_item.webroot if certbot_create_method == 'webroot' else '' }}
{{ '--hsts' if certbot_hsts else '' }}
{{ '--test-cert' if certbot_testmode else '' }}