kubespray/roles/dnsmasq/templates/resolv.conf.j2

6 lines
233 B
Plaintext
Raw Normal View History

2015-10-04 04:19:50 +08:00
; generated by ansible
search {{ [ 'default.svc.' + dns_domain, 'svc.' + dns_domain, dns_domain ] | join(' ') }}
{% for host in groups['kube-master'] %}
nameserver {{ hostvars[host]['ansible_default_ipv4']['address'] }}
{% endfor %}