diff --git a/roles/reset/tasks/main.yml b/roles/reset/tasks/main.yml index 6405f4d38..1ae226380 100644 --- a/roles/reset/tasks/main.yml +++ b/roles/reset/tasks/main.yml @@ -253,6 +253,13 @@ - enable_nodelocaldns|default(false)|bool - nodelocaldns_device.stat.exists +- name: reset | Remove immutable flag from /var/lib/kubelet subdirs + file: + path: /var/lib/kubelet + state: directory + attributes: "-i" + recurse: true + - name: reset | delete some files and directories file: path: "{{ item }}"