Skip to content
Snippets Groups Projects
Unverified Commit 97ff67e5 authored by Clicia Scarlet's avatar Clicia Scarlet Committed by GitHub
Browse files

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

parent d4204a42
No related branches found
No related tags found
No related merge requests found
...@@ -65,5 +65,5 @@ data: ...@@ -65,5 +65,5 @@ data:
} }
{% if dns_etchosts | default(None) %} {% if dns_etchosts | default(None) %}
hosts: | hosts: |
{{ dns_etchosts }} {{ dns_etchosts | indent(width=4, indentfirst=None) }}
{% endif %} {% endif %}
...@@ -85,5 +85,5 @@ data: ...@@ -85,5 +85,5 @@ data:
} }
{% if dns_etchosts | default(None) %} {% if dns_etchosts | default(None) %}
hosts: | hosts: |
{{ dns_etchosts }} {{ dns_etchosts | indent(width=4, indentfirst=None) }}
{% endif %} {% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment