fix reset/main.yml lsattr command error when kubelet has symbolic link (#11074)

Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
pull/11091/head
kyrie 2024-04-15 10:55:05 +08:00 committed by GitHub
parent dd0f42171f
commit cc0c3d73dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@
register: var_lib_kubelet_directory register: var_lib_kubelet_directory
- name: Reset | Find files/dirs with immutable flag in /var/lib/kubelet - 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 become: true
register: var_lib_kubelet_files_dirs_w_attrs register: var_lib_kubelet_files_dirs_w_attrs
changed_when: false changed_when: false