Skip to content

Commit

Permalink
Fixed syntax issue in main/defaults.yml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mario Biberhofer committed Oct 2, 2018
1 parent 974fc81 commit 260a852
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 260a852

Please sign in to comment.