Browse Source
kubernetes/preinstall: remove unused variable
pull/11819/head
Max Gautier
9 months ago
Failed to extract signature
1 changed files with
1 additions and
5 deletions
-
roles/kubernetes/preinstall/tasks/0020-set_facts.yml
|
|
@ -34,7 +34,7 @@ |
|
|
|
register: resolvconf_stat |
|
|
|
|
|
|
|
# Used in vars/ |
|
|
|
- name: Fetch resolvconf |
|
|
|
- name: Fetch resolv.conf |
|
|
|
when: resolvconf_stat.stat.exists |
|
|
|
slurp: |
|
|
|
src: /etc/resolv.conf |
|
|
@ -65,10 +65,6 @@ |
|
|
|
set_fact: |
|
|
|
resolvconf: >- |
|
|
|
{%- if resolvconf.rc == 0 and resolvconfd_path.stat.isdir is defined and resolvconfd_path.stat.isdir -%}true{%- else -%}false{%- endif -%} |
|
|
|
bogus_domains: |- |
|
|
|
{% for d in default_searchdomains | default([]) + searchdomains | default([]) -%} |
|
|
|
{{ dns_domain }}.{{ d }}./{{ d }}.{{ d }}./com.{{ d }}./ |
|
|
|
{%- endfor %} |
|
|
|
|
|
|
|
- name: Check if kubelet is configured |
|
|
|
stat: |
|
|
|