Skip to content
Snippets Groups Projects
Unverified Commit 5043517c authored by Cristian Calin's avatar Cristian Calin Committed by GitHub
Browse files

[containerd] avoid cleanup of /usr/bin on ostree distributions (#8624)

parent 307d122a
Branches
Tags
No related merge requests found
...@@ -45,7 +45,9 @@ ...@@ -45,7 +45,9 @@
file: file:
path: "/usr/bin/{{ item }}" path: "/usr/bin/{{ item }}"
state: absent 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 ignore_errors: true # noqa ignore-errors
with_items: with_items:
- containerd - containerd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment