fix reset/main.yml lsattr command error when kubelet has symbolic link (#11074)
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>pull/11091/head
parent
dd0f42171f
commit
cc0c3d73dc
|
@ -267,7 +267,7 @@
|
|||
register: var_lib_kubelet_directory
|
||||
|
||||
- name: Reset | Find files/dirs with immutable flag in /var/lib/kubelet
|
||||
command: lsattr -laR /var/lib/kubelet
|
||||
command: lsattr -laR /var/lib/kubelet/
|
||||
become: true
|
||||
register: var_lib_kubelet_files_dirs_w_attrs
|
||||
changed_when: false
|
||||
|
|
Loading…
Reference in New Issue