Fix yaml syntax error when use multilines in dns_etchosts (#6960)
This commit is contained in:
parent
d4204a42fd
commit
97ff67e54a
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
}
|
}
|
||||||
{% if dns_etchosts | default(None) %}
|
{% if dns_etchosts | default(None) %}
|
||||||
hosts: |
|
hosts: |
|
||||||
{{ dns_etchosts }}
|
{{ dns_etchosts | indent(width=4, indentfirst=None) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue