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 }}"