allow for correct aws default resolver

pull/1248/head
Spencer Smith 2017-04-20 09:32:03 -04:00
parent 2d6bc9536c
commit b690008192
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
{{dns_domain}}.{{d}}./{{d}}.{{d}}./com.{{d}}./ {{dns_domain}}.{{d}}./{{d}}.{{d}}./com.{{d}}./
{%- endfor %} {%- endfor %}
default_resolver: >- default_resolver: >-
{%- if cloud_provider is defined and cloud_provider in [ 'gce', 'aws' ] -%}169.254.169.254{%- else -%}8.8.8.8{%- endif -%} {%- if cloud_provider is defined and cloud_provider in == 'gce' -%}169.254.169.254{%- elif cloud_provider is defined and cloud_provider == 'aws' -%}169.254.169.253{%- else -%}8.8.8.8{%- endif -%}
- name: check if kubelet is configured - name: check if kubelet is configured
stat: stat: