c12s-kubespray/roles/container-engine/docker/vars/fedora.yml
2021-01-06 09:23:51 -08:00

27 lines
1.3 KiB
YAML

---
docker_kernel_min_version: '0'
# https://docs.docker.com/install/linux/docker-ce/fedora/
# https://download.docker.com/linux/fedora/<fedora-version>/x86_64/stable/Packages/
docker_versioned_pkg:
'latest': docker-ce
'18.03': docker-ce-18.03.1.ce-3.fc{{ ansible_distribution_major_version }}
'18.06': docker-ce-18.06.2.ce-3.fc{{ ansible_distribution_major_version }}
'18.09': docker-ce-18.09.7-3.fc{{ ansible_distribution_major_version }}
'19.03': docker-ce-19.03.14-3.fc{{ ansible_distribution_major_version }}
'20.10': docker-ce-20.10.2-3.fc{{ ansible_distribution_major_version }}
'stable': docker-ce-19.03.14-3.fc{{ ansible_distribution_major_version }}
'edge': docker-ce-19.03.14-3.fc{{ ansible_distribution_major_version }}
docker_cli_versioned_pkg:
'latest': docker-ce-cli
'18.09': docker-ce-cli-19.03.14-3.fc{{ ansible_distribution_major_version }}
'19.03': docker-ce-cli-19.03.14-3.fc{{ ansible_distribution_major_version }}
'20.10': docker-ce-cli-20.10.2-3.fc{{ ansible_distribution_major_version }}
docker_package_info:
pkg_mgr: dnf
pkgs:
- name: "{{ containerd_versioned_pkg[containerd_version | string] }}"
- name: "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
- name: "{{ docker_versioned_pkg[docker_version | string] }}"