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:
Nico
2023-08-08 14:06:15 +02:00
committed by GitHub
parent 1c5f657f97
commit b5ce69cf3c

View File

@ -9,6 +9,8 @@
src: "{{ downloads.kata_containers.dest }}"
dest: "/"
mode: 0755
owner: root
group: root
remote_src: yes
- name: Kata-containers | Create config directory