mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
Initial commit
This commit is contained in:
5
roles/dnsmasq/templates/resolv.conf.j2
Normal file
5
roles/dnsmasq/templates/resolv.conf.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
; 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 %}
|
||||
Reference in New Issue
Block a user