c12s-kubespray/roles/dnsmasq/templates/resolv.conf.j2
2015-10-03 22:19:50 +02:00

5 lines
233 B
Django/Jinja

; 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 %}