mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-06-15 15:11:26 +02:00
Removes --pre/post-hook args from certbot invokation
These are obsolete as pointed out in https://github.com/geerlingguy/ansible-role-certbot/pull/80#issuecomment-575138287
This commit is contained in:
parent
8164566c4f
commit
2da7a3f2b6
@ -21,12 +21,6 @@ certbot_create_command: >-
|
||||
{{ certbot_script }} certonly --standalone --noninteractive --agree-tos
|
||||
--email {{ cert_item.email | default(certbot_admin_email) }}
|
||||
-d {{ cert_item.domains | join(',') }}
|
||||
{{ '--pre-hook /etc/letsencrypt/renewal-hooks/pre/stop_services'
|
||||
if certbot_create_standalone_stop_services
|
||||
else '' }}
|
||||
{{ '--post-hook /etc/letsencrypt/renewal-hooks/post/start_services'
|
||||
if certbot_create_standalone_stop_services
|
||||
else '' }}
|
||||
|
||||
certbot_create_standalone_stop_services:
|
||||
- nginx
|
||||
|
Loading…
x
Reference in New Issue
Block a user