mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 01:57:37 -03:30
[containerd] avoid cleanup of /usr/bin on ostree distributions (#8624)
This commit is contained in:
parent
307d122a84
commit
5043517cfb
@ -45,7 +45,9 @@
|
||||
file:
|
||||
path: "/usr/bin/{{ item }}"
|
||||
state: absent
|
||||
when: containerd_bin_dir != "/usr/bin"
|
||||
when:
|
||||
- containerd_bin_dir != "/usr/bin"
|
||||
- not (is_ostree or (ansible_distribution == "Flatcar Container Linux by Kinvolk") or (ansible_distribution == "Flatcar"))
|
||||
ignore_errors: true # noqa ignore-errors
|
||||
with_items:
|
||||
- containerd
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user