From fb7241624e9fd918c08c6afc7f96117539aa2f0b Mon Sep 17 00:00:00 2001 From: lvziqiang Date: Wed, 27 Dec 2017 17:39:03 +0800 Subject: [PATCH] =?UTF-8?q?role=20deploy=20=E4=B8=AD=E5=87=86=E5=A4=87?= =?UTF-8?q?=E5=88=86=E5=8F=91=20CA=E8=AF=81=E4=B9=A6=EF=BC=8C=20=E5=BA=94?= =?UTF-8?q?=E8=AF=A5=E7=94=A8fetch=E6=9D=A5=E6=8B=89=E5=8E=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/deploy/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/deploy/tasks/main.yml b/roles/deploy/tasks/main.yml index 7b2948b..1d08017 100644 --- a/roles/deploy/tasks/main.yml +++ b/roles/deploy/tasks/main.yml @@ -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