fix stray 'in' and break into multiple lines for clarity
This commit is contained in:
parent
21b10784f4
commit
04818b9d94
1 changed files with 7 additions and 1 deletions
|
@ -16,7 +16,13 @@
|
|||
{{dns_domain}}.{{d}}./{{d}}.{{d}}./com.{{d}}./
|
||||
{%- endfor %}
|
||||
default_resolver: >-
|
||||
{%- 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 -%}
|
||||
{%- if cloud_provider is defined and cloud_provider == '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
|
||||
stat:
|
||||
|
|
Loading…
Reference in a new issue