5e06ee6ea6
we don't need rpm_key, 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>
(cherry picked from commit a2429ef64d
)
17 lines
442 B
YAML
17 lines
442 B
YAML
---
|
|
containerd_package_info:
|
|
pkgs:
|
|
- "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
|
|
|
containerd_repo_key_info:
|
|
url: '{{ containerd_ubuntu_repo_gpgkey }}'
|
|
repo_keys:
|
|
- '{{ containerd_ubuntu_repo_repokey }}'
|
|
|
|
containerd_repo_info:
|
|
pkg_repo: apt_repository
|
|
repos:
|
|
- >
|
|
deb {{ containerd_ubuntu_repo_base_url }}
|
|
{{ ansible_distribution_release|lower }}
|
|
{{ containerd_ubuntu_repo_component }}
|