mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-19 23:07:47 -02:30
kubernetes/preinstall: remove unused variable
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
register: resolvconf_stat
|
register: resolvconf_stat
|
||||||
|
|
||||||
# Used in vars/
|
# Used in vars/
|
||||||
- name: Fetch resolvconf
|
- name: Fetch resolv.conf
|
||||||
when: resolvconf_stat.stat.exists
|
when: resolvconf_stat.stat.exists
|
||||||
slurp:
|
slurp:
|
||||||
src: /etc/resolv.conf
|
src: /etc/resolv.conf
|
||||||
@@ -65,10 +65,6 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
resolvconf: >-
|
resolvconf: >-
|
||||||
{%- if resolvconf.rc == 0 and resolvconfd_path.stat.isdir is defined and resolvconfd_path.stat.isdir -%}true{%- else -%}false{%- endif -%}
|
{%- 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
|
- name: Check if kubelet is configured
|
||||||
stat:
|
stat:
|
||||||
|
|||||||
Reference in New Issue
Block a user