mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-23 00:37:42 -02:30
Fix creation and sync of etcd certs
Admin certs only go to etcd nodes Only generate cert-data for nodes that need sync
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
- name: "Check certs | check if a cert already exists"
|
||||
stat:
|
||||
path: "{{ etcd_cert_dir }}/node-{{inventory_hostname}}-key.pem"
|
||||
path: "{{ etcd_cert_dir }}/{{ item }}"
|
||||
register: etcdcert
|
||||
with_items:
|
||||
- ca.pem
|
||||
|
||||
Reference in New Issue
Block a user