mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Move webroot definition further down
This commit is contained in:
parent
23447ec217
commit
b37af73500
@ -25,12 +25,12 @@ certbot_certs: []
|
||||
|
||||
certbot_create_command: >-
|
||||
{{ certbot_script }} certonly --{{ certbot_create_method }}
|
||||
{{ '-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 '' }}
|
||||
--noninteractive --agree-tos
|
||||
--email {{ cert_item.email | default(certbot_admin_email) }}
|
||||
{{ '--webroot-path ' if certbot_create_method == 'webroot' else '' }}
|
||||
{{ cert_item.webroot if certbot_create_method == 'webroot' else '' }}
|
||||
-d {{ cert_item.domains | join(',') }}
|
||||
{{ '--pre-hook /etc/letsencrypt/renewal-hooks/pre/stop_services'
|
||||
if certbot_create_standalone_stop_services
|
||||
|
Loading…
x
Reference in New Issue
Block a user