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

Replace the raw rsync command with the synchronize module
This commit is contained in:
k8s-ci-robot 2018-09-13 03:12:05 -07:00 committed by GitHub
commit ffbe9e7fd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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