diff --git a/defaults/main.yml b/defaults/main.yml index e1a7e18..99e9f20 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -48,7 +48,7 @@ certbot_create_command: >- {{ '--post-hook /etc/letsencrypt/renewal-hooks/post/start_services' if certbot_create_standalone_stop_services and certbot_create_method == 'standalone' else '' }} - {{ '--deploy-hook \'' + cert_item.deploy_hook + '\'' + {{ "--deploy-hook '" ~ cert_item.deploy_hook ~ "'" if 'deploy_hook' in cert_item else '' }}