From 260a85222e2a824e452bda78a0053993f0872b55 Mon Sep 17 00:00:00 2001 From: Mario Biberhofer Date: Tue, 2 Oct 2018 10:20:22 +0200 Subject: [PATCH] Fixed syntax issue in main/defaults.yml v3.0.0 has introduced usage of the folded block scalar syntax (see https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html) for the certbot_create_command variable. The usage of quotes in this case is wrong, resulting in a command not found error. --- defaults/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 0e42534..3186d8e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -18,9 +18,10 @@ certbot_certs: [] # - domains: # - example3.com certbot_create_command: >- - "{{ certbot_script }} certonly --standalone --noninteractive --agree-tos + {{ certbot_script }} certonly --standalone --noninteractive --agree-tos --email {{ cert_item.email | default(certbot_admin_email) }} - -d {{ cert_item.domains | join(',') }}" + -d {{ cert_item.domains | join(',') }} + certbot_create_standalone_stop_services: - nginx # - apache