Skip to content
Snippets Groups Projects
Unverified Commit ffbe9e7f authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub
Browse files

Merge pull request #1973 from guenhter/rsync-cmd-to-synchronize

Replace the raw rsync command with the synchronize module
parents 53a685db fff48d24
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,13 @@
- kubeadm
- name: install | Copy kubeadm binary from download dir
command: rsync -piu "{{ local_release_dir }}/kubeadm" "{{ bin_dir }}/kubeadm"
changed_when: false
synchronize:
src: "{{ local_release_dir }}/kubeadm"
dest: "{{ bin_dir }}/kubeadm"
compress: no
owner: no
group: no
delegate_to: "{{ inventory_hostname }}"
when: kubeadm_enabled
tags:
- kubeadm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment