Unai Arríen
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
roles/kubernetes-apps/ansible/tasks/nodelocaldns.yml
|
|
@ -33,7 +33,7 @@ |
|
|
|
{{ primaryClusterIP }} |
|
|
|
{%- endif -%} |
|
|
|
upstreamForwardTarget: >- |
|
|
|
{%- if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 -%} |
|
|
|
{%- if upstream_dns_servers is defined and upstream_dns_servers|length > 0 -%} |
|
|
|
{{ upstream_dns_servers|join(' ') }} |
|
|
|
{%- else -%} |
|
|
|
/etc/resolv.conf |
|
|
@ -61,7 +61,7 @@ |
|
|
|
{{ primaryClusterIP }} |
|
|
|
{%- endif -%} |
|
|
|
upstreamForwardTarget: >- |
|
|
|
{%- if resolvconf_mode == 'host_resolvconf' and upstream_dns_servers is defined and upstream_dns_servers|length > 0 -%} |
|
|
|
{%- if upstream_dns_servers is defined and upstream_dns_servers|length > 0 -%} |
|
|
|
{{ upstream_dns_servers|join(' ') }} |
|
|
|
{%- else -%} |
|
|
|
/etc/resolv.conf |
|
|
|