Browse Source

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

pull/6864/head
Clicia Scarlet 4 years ago
committed by GitHub
parent
commit
97ff67e54a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. 2
      roles/kubernetes-apps/ansible/templates/coredns-config.yml.j2
  2. 2
      roles/kubernetes-apps/ansible/templates/nodelocaldns-config.yml.j2

2
roles/kubernetes-apps/ansible/templates/coredns-config.yml.j2

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

2
roles/kubernetes-apps/ansible/templates/nodelocaldns-config.yml.j2

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