mirror of https://github.com/easzlab/kubeasz.git
role deploy 中准备分发 CA证书, 应该用fetch来拉去
parent
10023afdff
commit
fb7241624e
|
@ -23,7 +23,7 @@
|
|||
|
||||
# 为了保证整个安装的幂等性,如果已经生成过CA证书,就使用已经存在的CA;删除/roles/prepare/files/ca* 可以使用新CA 证书
|
||||
- name: 准备分发 CA证书
|
||||
copy: src={{ ca_dir }}/{{ item }} dest={{ base_dir }}/roles/prepare/files/{{ item }} force=no
|
||||
fetch: src={{ ca_dir }}/{{ item }} dest={{ base_dir }}/roles/prepare/files/ flat=yes
|
||||
with_items:
|
||||
- ca.pem
|
||||
- ca-key.pem
|
||||
|
|
Loading…
Reference in New Issue