Remove dead code from kubeadm-etcd (#7470)

(cherry picked from commit aa086e5407)
This commit is contained in:
Florian Ruynat 2021-04-09 10:10:47 +02:00 committed by Kubernetes Prow Robot
parent 7cf6f3f3e1
commit 2100d33b78

View file

@ -12,20 +12,6 @@
tags: tags:
- network - network
- name: Ensure etcdctl binary is installed
include_tasks: "{{ role_path }}/../../etcd/tasks/install_host.yml"
vars:
etcd_cluster_setup: true
when: etcd_deployment_type == "host" and not etcd_kubeadm_enabled
- name: Ensure etcdctl binary is installed
include_tasks: "{{ role_path }}/../../etcd/tasks/install_etcdctl_docker.yml"
vars:
etcd_cluster_setup: true
etcd_retries: 4
when:
- etcd_deployment_type == "docker" and not etcd_kubeadm_enabled
- name: Ensure etcdctl script is installed - name: Ensure etcdctl script is installed
import_role: import_role:
name: etcdctl name: etcdctl