dont use var etcd_kubeadm_enabled (#9823)

pull/9836/head
Samuel Liu 2023-02-27 07:58:18 +08:00 committed by GitHub
parent 1dab5b5d9c
commit f9ce176211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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