containerd,docker: use apt_repository instead of action

yum_repository expect really different params, so nothing to factor here
Ubuntu is not an ansible_os_family, the OS family for Ubuntu is Debian
Check for ansible_pkg_mgr == apt

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
Etienne Champetier
2021-01-08 16:51:06 -05:00
committed by Kubernetes Prow Robot
parent a2429ef64d
commit a8e51e686e
10 changed files with 4 additions and 28 deletions

View File

@@ -5,7 +5,3 @@ containerd_package: containerd
containerd_package_info:
pkgs:
- "{{ containerd_package }}"
containerd_repo_info:
pkg_repo: ''
repos: []