From f9ce1762111d83c24511a6cedfb6e04dd0a3e17f Mon Sep 17 00:00:00 2001 From: Samuel Liu Date: Mon, 27 Feb 2023 07:58:18 +0800 Subject: [PATCH] dont use var etcd_kubeadm_enabled (#9823) --- recover-control-plane.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recover-control-plane.yml b/recover-control-plane.yml index a8a2d0b83..77ec5bec4 100644 --- a/recover-control-plane.yml +++ b/recover-control-plane.yml @@ -16,7 +16,8 @@ environment: "{{ proxy_disable_env }}" roles: - { role: kubespray-defaults} - - { role: recover_control_plane/etcd, when: "not etcd_kubeadm_enabled|default(false)" } + - role: recover_control_plane/etcd + when: etcd_deployment_type != "kubeadm" - hosts: kube_control_plane[0] environment: "{{ proxy_disable_env }}"