|
@ -26,7 +26,7 @@ |
|
|
- name: add upstream dns servers (only when dnsmasq is not used) |
|
|
- name: add upstream dns servers (only when dnsmasq is not used) |
|
|
set_fact: |
|
|
set_fact: |
|
|
docker_dns_servers: "{{ docker_dns_servers + upstream_dns_servers|default([]) }}" |
|
|
docker_dns_servers: "{{ docker_dns_servers + upstream_dns_servers|default([]) }}" |
|
|
when: dns_mode in ['kubedns', 'coredns', 'coreos_dual'] |
|
|
|
|
|
|
|
|
when: dns_mode in ['kubedns', 'coredns', 'coredns_dual'] |
|
|
|
|
|
|
|
|
- name: add global searchdomains |
|
|
- name: add global searchdomains |
|
|
set_fact: |
|
|
set_fact: |
|
|