Check for both conditions (squash me)

pull/192/head
FAP 2 years ago committed by GitHub
parent d30ddd946a
commit 2deba31679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      defaults/main.yml

@ -37,10 +37,10 @@ certbot_create_command: >-
{{ cert_item.webroot | default(certbot_webroot) if certbot_create_method == 'webroot' else '' }} {{ cert_item.webroot | default(certbot_webroot) if certbot_create_method == 'webroot' else '' }}
-d {{ cert_item.domains | join(',') }} -d {{ cert_item.domains | join(',') }}
{{ '--pre-hook /etc/letsencrypt/renewal-hooks/pre/stop_services' {{ '--pre-hook /etc/letsencrypt/renewal-hooks/pre/stop_services'
if certbot_create_method == 'standalone' if certbot_create_standalone_stop_services and certbot_create_method == 'standalone'
else '' }} else '' }}
{{ '--post-hook /etc/letsencrypt/renewal-hooks/post/start_services' {{ '--post-hook /etc/letsencrypt/renewal-hooks/post/start_services'
if certbot_create_method == 'standalone' if certbot_create_standalone_stop_services and certbot_create_method == 'standalone'
else '' }} else '' }}
certbot_create_standalone_stop_services: certbot_create_standalone_stop_services:

Loading…
Cancel
Save