Skip to content

Commit

Permalink
ci: Prefer distro packaged containerd for Ubuntu >20.04
Browse files Browse the repository at this point in the history
Let's switch the logic, and ensure that 24.04 also installs containerd
from the distro.

Signed-off-by: Fabiano Fidêncio <[email protected]>
  • Loading branch information
fidencio committed Jun 21, 2024
1 parent 0a009d2 commit a24718c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/ansible/install_containerd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
tasks:
- name: Install containerd from distro
package:
name: "{{ 'containerd.io' if ansible_distribution_version != '22.04' else 'containerd' }}"
name: "{{ 'containerd.io' if ansible_distribution_version == '20.04' else 'containerd' }}"
state: present
# The docker package overwrite the /etc/containerd/config.toml installed
# by the containerd.io package. As a result we are hit by the following
Expand Down

0 comments on commit a24718c

Please sign in to comment.