2018-09-20 01:57:20 +08:00
|
|
|
---
|
|
|
|
docker_kernel_min_version: '0'
|
|
|
|
|
|
|
|
# https://docs.docker.com/install/linux/docker-ce/fedora/
|
2020-05-09 06:39:51 +08:00
|
|
|
# https://download.docker.com/linux/fedora/<fedora-version>/x86_64/stable/Packages/
|
2018-09-20 01:57:20 +08:00
|
|
|
|
|
|
|
docker_versioned_pkg:
|
|
|
|
'latest': docker-ce
|
2020-05-09 06:39:51 +08:00
|
|
|
'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 }}
|
2020-06-08 14:55:46 +08:00
|
|
|
'19.03': docker-ce-19.03.11-3.fc{{ ansible_distribution_major_version }}
|
|
|
|
'stable': docker-ce-19.03.11-3.fc{{ ansible_distribution_major_version }}
|
|
|
|
'edge': docker-ce-19.03.11-3.fc{{ ansible_distribution_major_version }}
|
2018-09-20 01:57:20 +08:00
|
|
|
|
2020-05-25 20:37:11 +08:00
|
|
|
docker_cli_versioned_pkg:
|
|
|
|
'latest': docker-ce-cli
|
2020-06-08 14:55:46 +08:00
|
|
|
'18.09': docker-ce-cli-19.03.11-3.fc{{ ansible_distribution_major_version }}
|
|
|
|
'19.03': docker-ce-cli-19.03.11-3.fc{{ ansible_distribution_major_version }}
|
2020-05-25 20:37:11 +08:00
|
|
|
|
2018-09-20 01:57:20 +08:00
|
|
|
docker_package_info:
|
|
|
|
pkg_mgr: dnf
|
|
|
|
pkgs:
|
2020-06-05 20:55:44 +08:00
|
|
|
- name: "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
2020-05-25 20:37:11 +08:00
|
|
|
- name: "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
2018-10-04 17:05:55 +08:00
|
|
|
- name: "{{ docker_versioned_pkg[docker_version | string] }}"
|