Skip to content
Snippets Groups Projects
Commit fff48d24 authored by guenhter's avatar guenhter
Browse files

Replace the raw rsync command with the synchronize module

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