mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-08 01:47:37 -02:30
use command instead of synchronize
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
---
|
||||
- name: Calico | Install calicoctl bin
|
||||
synchronize:
|
||||
src: "{{ local_release_dir }}/calico/bin/calicoctl"
|
||||
dest: "{{ bin_dir }}/calicoctl"
|
||||
archive: no
|
||||
times: yes
|
||||
set_remote_user: false
|
||||
delegate_to: "{{ inventory_hostname }}"
|
||||
command: cp -pf "{{ local_release_dir }}/calico/bin/calicoctl" "{{ bin_dir }}/calicoctl"
|
||||
changed_when: false
|
||||
notify: restart calico-node
|
||||
|
||||
- name: Calico | install calicoctl
|
||||
|
||||
Reference in New Issue
Block a user