mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-06 10:39:22 -02:30
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) %}
|
{% 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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user