2018-09-20 01:57:20 +08:00
|
|
|
---
|
|
|
|
docker_kernel_min_version: '0'
|
|
|
|
|
|
|
|
# https://docs.docker.com/install/linux/docker-ce/fedora/
|
2019-04-24 13:24:01 +08:00
|
|
|
# https://download.docker.com/linux/fedora/28/x86_64/stable/Packages/
|
2018-09-20 01:57:20 +08:00
|
|
|
|
|
|
|
docker_versioned_pkg:
|
|
|
|
'latest': docker-ce
|
|
|
|
'18.03': docker-ce-18.03.1.ce-3.fc28
|
2019-02-13 17:50:53 +08:00
|
|
|
'18.06': docker-ce-18.06.2.ce-3.fc28
|
2019-04-24 13:24:01 +08:00
|
|
|
'18.09': docker-ce-18.09.5-3.fc28
|
2018-09-20 01:57:20 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# This is due to the fact that the docker
|
|
|
|
# packages available on Fedora are too recent
|
|
|
|
#
|
|
|
|
docker_version: "latest"
|
|
|
|
|
|
|
|
docker_package_info:
|
|
|
|
pkg_mgr: dnf
|
|
|
|
pkgs:
|
2018-10-04 17:05:55 +08:00
|
|
|
- name: "{{ docker_versioned_pkg[docker_version | string] }}"
|