Browse Source
Merge pull request #1973 from guenhter/rsync-cmd-to-synchronize
Replace the raw rsync command with the synchronize module
pull/3308/merge
k8s-ci-robot
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
2 deletions
-
roles/kubernetes/node/tasks/install.yml
|
|
@ -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 |
|
|
|