From 1baee488ab806bcc375859618c327574e71f0ed0 Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Fri, 8 Jan 2021 09:46:39 -0500 Subject: [PATCH] containerd: remove duplicate package pining task Leave it with the install instead of the repo config Signed-off-by: Etienne Champetier --- .../containerd/tasks/containerd_repo.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/roles/container-engine/containerd/tasks/containerd_repo.yml b/roles/container-engine/containerd/tasks/containerd_repo.yml index 2c1fc7c92..40805d32c 100644 --- a/roles/container-engine/containerd/tasks/containerd_repo.yml +++ b/roles/container-engine/containerd/tasks/containerd_repo.yml @@ -24,16 +24,6 @@ - ansible_os_family in ['Ubuntu', 'Debian'] - containerd_repo_info.repos|length > 0 -# This is required to ensure any apt upgrade will not break kubernetes -- name: Set containerd pin priority to apt_preferences on Debian family - template: - src: "apt_preferences.d/debian_containerd.j2" - dest: "/etc/apt/preferences.d/containerd" - owner: "root" - mode: 0644 - when: - - ansible_os_family in ['Ubuntu', 'Debian'] - - name: Configure containerd repository on Fedora template: src: "fedora_containerd.repo.j2"