Skip to content

Commit f1e8bda

Browse files
author
KARTHIK S
committed
[Issue-12117]-Certificates for the new hosts are not generated during scale.yml
1 parent 4ad9f9b commit f1e8bda

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

playbooks/scale.yml

+2-16
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,8 @@
55
- name: Gather facts
66
import_playbook: facts.yml
77

8-
- name: Generate the etcd certificates beforehand
9-
hosts: etcd:kube_control_plane
10-
gather_facts: false
11-
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
12-
environment: "{{ proxy_disable_env }}"
13-
roles:
14-
- { role: kubespray-defaults }
15-
- role: etcd
16-
tags: etcd
17-
vars:
18-
etcd_cluster_setup: false
19-
etcd_events_cluster_setup: false
20-
when:
21-
- etcd_deployment_type != "kubeadm"
22-
- kube_network_plugin in ["calico", "flannel", "canal", "cilium"] or cilium_deploy_additionally | default(false) | bool
23-
- kube_network_plugin != "calico" or calico_datastore == "etcd"
8+
- name: Install etcd
9+
import_playbook: install_etcd.yml
2410

2511
- name: Download images to ansible host cache via first kube_control_plane node
2612
hosts: kube_control_plane[0]

0 commit comments

Comments
 (0)