mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Fix yaml syntax error when use multilines in dns_etchosts (#6960)
This commit is contained in:
@@ -65,5 +65,5 @@ data:
|
||||
}
|
||||
{% if dns_etchosts | default(None) %}
|
||||
hosts: |
|
||||
{{ dns_etchosts }}
|
||||
{{ dns_etchosts | indent(width=4, indentfirst=None) }}
|
||||
{% endif %}
|
||||
|
||||
@@ -85,5 +85,5 @@ data:
|
||||
}
|
||||
{% if dns_etchosts | default(None) %}
|
||||
hosts: |
|
||||
{{ dns_etchosts }}
|
||||
{{ dns_etchosts | indent(width=4, indentfirst=None) }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user