2018-09-20 01:57:20 +08:00
|
|
|
---
|
2021-10-20 23:47:58 +08:00
|
|
|
# containerd versions are only relevant for docker
|
|
|
|
containerd_versioned_pkg:
|
|
|
|
'latest': "{{ containerd_package }}"
|
|
|
|
'1.3.7': "{{ containerd_package }}-1.3.7-3.1.fc{{ ansible_distribution_major_version }}"
|
|
|
|
'1.3.9': "{{ containerd_package }}-1.3.9-3.1.fc{{ ansible_distribution_major_version }}"
|
|
|
|
'1.4.3': "{{ containerd_package }}-1.4.3-3.2.fc{{ ansible_distribution_major_version }}"
|
|
|
|
'1.4.4': "{{ containerd_package }}-1.4.4-3.1.fc{{ ansible_distribution_major_version }}"
|
|
|
|
'1.4.6': "{{ containerd_package }}-1.4.6-3.1.fc{{ ansible_distribution_major_version }}"
|
|
|
|
'1.4.9': "{{ containerd_package }}-1.4.9-3.1.fc{{ ansible_distribution_major_version }}"
|
|
|
|
'stable': "{{ containerd_package }}-1.4.9-3.1.fc{{ ansible_distribution_major_version }}"
|
|
|
|
'edge': "{{ containerd_package }}-1.4.9-3.1.fc{{ ansible_distribution_major_version }}"
|
|
|
|
|
2018-09-20 01:57:20 +08:00
|
|
|
# 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
|
2021-02-05 05:20:53 +08:00
|
|
|
'19.03': docker-ce-19.03.15-3.fc{{ ansible_distribution_major_version }}
|
2021-10-08 23:56:58 +08:00
|
|
|
'20.10': docker-ce-20.10.9-3.fc{{ ansible_distribution_major_version }}
|
|
|
|
'stable': docker-ce-20.10.9-3.fc{{ ansible_distribution_major_version }}
|
|
|
|
'edge': docker-ce-20.10.9-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
|
2021-02-05 05:20:53 +08:00
|
|
|
'19.03': docker-ce-cli-19.03.15-3.fc{{ ansible_distribution_major_version }}
|
2021-10-08 23:56:58 +08:00
|
|
|
'20.10': docker-ce-cli-20.10.9-3.fc{{ ansible_distribution_major_version }}
|
|
|
|
'stable': docker-ce-cli-20.10.9-3.fc{{ ansible_distribution_major_version }}
|
|
|
|
'edge': docker-ce-cli-20.10.9-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:
|
2021-01-08 06:13:14 +08:00
|
|
|
enablerepo: "docker-ce"
|
2018-09-20 01:57:20 +08:00
|
|
|
pkgs:
|
2021-11-09 07:56:49 +08:00
|
|
|
- "{{ containerd_versioned_pkg[docker_containerd_version | string] }}"
|
2021-01-08 06:13:14 +08:00
|
|
|
- "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
|
|
|
- "{{ docker_versioned_pkg[docker_version | string] }}"
|