From 75782aa262d2e651baffb7bd129fc5778fc95f9f Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Wed, 7 Dec 2016 19:03:04 +0300 Subject: [PATCH] Force hardlink for calico/canal certs Fixes: #669 --- roles/network_plugin/calico/tasks/main.yml | 1 + roles/network_plugin/canal/tasks/main.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/network_plugin/calico/tasks/main.yml b/roles/network_plugin/calico/tasks/main.yml index 06c95eb56..e31be114d 100644 --- a/roles/network_plugin/calico/tasks/main.yml +++ b/roles/network_plugin/calico/tasks/main.yml @@ -18,6 +18,7 @@ src: "{{ etcd_cert_dir }}/{{ item.s }}" dest: "{{ calico_cert_dir }}/{{ item.d }}" state: hard + force: yes with_items: - {s: "ca.pem", d: "ca_cert.crt"} - {s: "node.pem", d: "cert.crt"} diff --git a/roles/network_plugin/canal/tasks/main.yml b/roles/network_plugin/canal/tasks/main.yml index 1566362f1..83f398a54 100644 --- a/roles/network_plugin/canal/tasks/main.yml +++ b/roles/network_plugin/canal/tasks/main.yml @@ -18,6 +18,7 @@ src: "{{ etcd_cert_dir }}/{{ item.s }}" dest: "{{ canal_cert_dir }}/{{ item.d }}" state: hard + force: yes with_items: - {s: "ca.pem", d: "ca_cert.crt"} - {s: "node.pem", d: "cert.crt"}