Skip to content

Commit

Permalink
fix reset/main.yml lsattr command error when kubelet has symbolic link
Browse files Browse the repository at this point in the history
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
  • Loading branch information
KubeKyrie committed Apr 11, 2024
1 parent 1b870a1 commit 5ed893b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/reset/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ed893b

Please sign in to comment.