download: hardcode artifacts mode & owner (#13570)

The artifacts acquisition does not need particular owner or mode, it
only needs to be readable by other parts of kubespray actually installing
the artefacts where needed.

Thus, remove all mode / owner specific maniulation in download and
hardcode to 0644/0755 for file/directory.
This commit is contained in:
Max Gautier
2026-09-25 13:02:30 +00:00
committed by GitHub
parent cc65b8d9e3
commit 7462b8b93b
5 changed files with 8 additions and 72 deletions
+3 -6
View File
@@ -5,14 +5,11 @@
download: "{{ download_defaults | combine(downloads.yq) }}"
- name: Kubernetes Apps | Copy yq binary from download dir
ansible.posix.synchronize:
copy:
src: "{{ downloads.yq.dest }}"
dest: "{{ bin_dir }}/yq"
compress: false
perms: true
owner: false
group: false
delegate_to: "{{ inventory_hostname }}"
mode: "0755"
remote_src: true
- name: Kubernetes Apps | Set ArgoCD template list
set_fact: