Fix yaml syntax error when use multilines in dns_etchosts (#6960)

This commit is contained in:
Clicia Scarlet 2020-11-29 01:32:47 +09:00 committed by GitHub
parent d4204a42fd
commit 97ff67e54a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -65,5 +65,5 @@ data:
}
{% if dns_etchosts | default(None) %}
hosts: |
{{ dns_etchosts }}
{{ dns_etchosts | indent(width=4, indentfirst=None) }}
{% endif %}

View file

@ -85,5 +85,5 @@ data:
}
{% if dns_etchosts | default(None) %}
hosts: |
{{ dns_etchosts }}
{{ dns_etchosts | indent(width=4, indentfirst=None) }}
{% endif %}