2018-09-20 01:57:20 +08:00
|
|
|
---
|
|
|
|
docker_kernel_min_version: '0'
|
|
|
|
|
|
|
|
# https://docs.docker.com/install/linux/docker-ce/fedora/
|
|
|
|
|
|
|
|
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
|
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] }}"
|