mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-20 15:27:56 -02:30
fix ansible password authentication (#6907)
* copying ssh key no longer required, works with password auth * use copy module instead of synchronize (which requires sshpass) * less tasks and always changed tasks
This commit is contained in:
@@ -22,14 +22,11 @@
|
||||
- not skip_kubeadm_images|default(false)
|
||||
|
||||
- name: prep_kubeadm_images | Copy kubeadm binary from download dir to system path
|
||||
synchronize:
|
||||
copy:
|
||||
src: "{{ local_release_dir }}/kubeadm-{{ kubeadm_version }}-{{ image_arch }}"
|
||||
dest: "{{ bin_dir }}/kubeadm"
|
||||
compress: no
|
||||
perms: yes
|
||||
owner: no
|
||||
group: no
|
||||
delegate_to: "{{ inventory_hostname }}"
|
||||
mode: 0755
|
||||
remote_src: true
|
||||
|
||||
- name: prep_kubeadm_images | Set kubeadm binary permissions
|
||||
file:
|
||||
|
||||
Reference in New Issue
Block a user