mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-05 01:59:30 -02:30
containerd: remove duplicate package pining task
Leave it with the install instead of the repo config Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
7433b70d95
commit
1baee488ab
@@ -24,16 +24,6 @@
|
|||||||
- ansible_os_family in ['Ubuntu', 'Debian']
|
- ansible_os_family in ['Ubuntu', 'Debian']
|
||||||
- containerd_repo_info.repos|length > 0
|
- 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
|
- name: Configure containerd repository on Fedora
|
||||||
template:
|
template:
|
||||||
src: "fedora_containerd.repo.j2"
|
src: "fedora_containerd.repo.j2"
|
||||||
|
|||||||
Reference in New Issue
Block a user