From e7269853c573c0740575e23a7351a1aba8fe5e6a Mon Sep 17 00:00:00 2001 From: Calin Cristian Andrei Date: Tue, 9 Feb 2021 16:57:00 +0000 Subject: [PATCH] add containerd.io to dpkg_selection `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 413acd6df80..b0ece93f013 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