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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment