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:
Hans Feldt
2020-12-01 00:12:50 +01:00
committed by GitHub
parent cc5303e1c8
commit 80eb1ad936
6 changed files with 18 additions and 66 deletions

View File

@@ -12,14 +12,11 @@
mode: 0644
- name: Copy crictl binary from download dir
synchronize:
copy:
src: "{{ local_release_dir }}/crictl"
dest: "{{ bin_dir }}/crictl"
compress: no
perms: yes
owner: no
group: no
delegate_to: "{{ inventory_hostname }}"
mode: 0755
remote_src: true
- name: Get crictl completion
command: "{{ bin_dir }}/crictl completion"

View File

@@ -12,14 +12,11 @@
mode: 0644
- name: Copy crictl binary from download dir
synchronize:
copy:
src: "{{ local_release_dir }}/crictl"
dest: "{{ bin_dir }}/crictl"
compress: no
perms: yes
owner: no
group: no
delegate_to: "{{ inventory_hostname }}"
mode: 0755
remote_src: true
- name: Get crictl completion
command: "{{ bin_dir }}/crictl completion"