mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Set owner/group to root/root when unarchiving kata-containers (#10338)
Set owner/group to root/root when unarchiving kata-containers binary to prevent kata-containers binaries/directories and especially / from getting chowned to 1001:123, the file owner specified in the kata-containers archive
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
src: "{{ downloads.kata_containers.dest }}"
|
src: "{{ downloads.kata_containers.dest }}"
|
||||||
dest: "/"
|
dest: "/"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
|
|
||||||
- name: Kata-containers | Create config directory
|
- name: Kata-containers | Create config directory
|
||||||
|
|||||||
Reference in New Issue
Block a user