mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-30 06:13:29 -02:30
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user