From 64502077131f587ad8bdd35802bfd406ec07891d Mon Sep 17 00:00:00 2001 From: Cristian Calin <6627509+cristicalin@users.noreply.github.com> Date: Wed, 10 Feb 2021 14:48:59 +0200 Subject: [PATCH] add containerd.io to dpkg_selection (#7273) `containerd.io` is the companion package of `docker-ce` and is the proper package name. This is needed to avoid apt upgrade/dist-upgrade from breaking kubernetes. --- roles/container-engine/docker/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/container-engine/docker/tasks/main.yml b/roles/container-engine/docker/tasks/main.yml index 413acd6df..b0ece93f0 100644 --- a/roles/container-engine/docker/tasks/main.yml +++ b/roles/container-engine/docker/tasks/main.yml @@ -92,7 +92,7 @@ when: ansible_pkg_mgr == 'apt' changed_when: false with_items: - - containerd + - "{{ containerd_package }}" - docker-ce - docker-ce-cli @@ -127,6 +127,7 @@ when: ansible_pkg_mgr == 'apt' changed_when: false with_items: + - "{{ containerd_package }}" - docker-ce - docker-ce-cli