mirror of
https://github.com/status-im/infra-role-certbot.git
synced 2025-02-24 00:28:13 +00:00
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.
This commit is contained in:
parent
974fc81c9c
commit
260a85222e
@ -18,9 +18,10 @@ certbot_certs: []
|
|||||||
# - domains:
|
# - domains:
|
||||||
# - example3.com
|
# - example3.com
|
||||||
certbot_create_command: >-
|
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) }}
|
--email {{ cert_item.email | default(certbot_admin_email) }}
|
||||||
-d {{ cert_item.domains | join(',') }}"
|
-d {{ cert_item.domains | join(',') }}
|
||||||
|
|
||||||
certbot_create_standalone_stop_services:
|
certbot_create_standalone_stop_services:
|
||||||
- nginx
|
- nginx
|
||||||
# - apache
|
# - apache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user