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

6 lines
233 B
Text
Raw Normal View History

2015-10-03 20:19:50 +00: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 %}