2018-09-19 17:57:20 +00:00
|
|
|
---
|
|
|
|
docker_kernel_min_version: '0'
|
|
|
|
|
|
|
|
# https://docs.docker.com/install/linux/docker-ce/fedora/
|
2020-05-22 14:30:37 +00:00
|
|
|
# https://download.docker.com/linux/fedora/<fedora-version>/x86_64/stable/Packages/
|
2018-09-19 17:57:20 +00:00
|
|
|
|
|
|
|
docker_versioned_pkg:
|
|
|
|
'latest': docker-ce
|
2020-05-22 14:30:37 +00: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 }}
|
|
|
|
'19.03': docker-ce-19.03.8-3.fc{{ ansible_distribution_major_version }}
|
2018-09-19 17:57:20 +00:00
|
|
|
|
2020-05-22 14:30:37 +00:00
|
|
|
docker_cli_versioned_pkg:
|
|
|
|
'latest': docker-ce-cli
|
|
|
|
'18.09': docker-ce-cli-19.03.8-3.fc{{ ansible_distribution_major_version }}
|
|
|
|
'19.03': docker-ce-cli-19.03.9-3.fc{{ ansible_distribution_major_version }}
|
|
|
|
|
|
|
|
# Fedora 30/31 don't provide packages for docker 18.0x ...
|
|
|
|
docker_version: "19.03"
|
|
|
|
docker_cli_version: "19.03"
|
2018-09-19 17:57:20 +00:00
|
|
|
|
|
|
|
docker_package_info:
|
|
|
|
pkg_mgr: dnf
|
|
|
|
pkgs:
|
2020-05-22 14:30:37 +00:00
|
|
|
- name: "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
2018-10-04 09:05:55 +00:00
|
|
|
- name: "{{ docker_versioned_pkg[docker_version | string] }}"
|