2017-08-24 17:09:52 +08:00
|
|
|
---
|
2018-03-07 20:11:20 +08:00
|
|
|
# https://docs.docker.com/engine/installation/linux/centos/#install-from-a-package
|
2020-09-23 23:32:19 +08:00
|
|
|
# https://download.docker.com/linux/centos/<centos_version>>/x86_64/stable/Packages/
|
2017-01-23 19:05:43 +08:00
|
|
|
# or do 'yum --showduplicates list docker-engine'
|
|
|
|
docker_versioned_pkg:
|
2018-03-07 20:11:20 +08:00
|
|
|
'latest': docker-ce
|
2020-04-09 01:09:45 +08:00
|
|
|
'18.09': docker-ce-18.09.9-3.el7
|
2020-12-04 08:33:25 +08:00
|
|
|
'19.03': docker-ce-19.03.14-3.el{{ ansible_distribution_major_version }}
|
2021-01-07 01:23:51 +08:00
|
|
|
'20.10': docker-ce-20.10.2-3.el{{ ansible_distribution_major_version }}
|
2020-12-04 08:33:25 +08:00
|
|
|
'stable': docker-ce-19.03.14-3.el{{ ansible_distribution_major_version }}
|
|
|
|
'edge': docker-ce-19.03.14-3.el{{ ansible_distribution_major_version }}
|
2018-03-07 20:11:20 +08:00
|
|
|
|
2020-05-25 20:37:11 +08:00
|
|
|
docker_cli_versioned_pkg:
|
|
|
|
'latest': docker-ce-cli
|
|
|
|
'18.09': docker-ce-cli-18.09.9-3.el7
|
2020-12-04 08:33:25 +08:00
|
|
|
'19.03': docker-ce-cli-19.03.14-3.el{{ ansible_distribution_major_version }}
|
2021-01-07 01:23:51 +08:00
|
|
|
'20.10': docker-ce-cli-20.10.2-3.el{{ ansible_distribution_major_version }}
|
2020-05-25 20:37:11 +08:00
|
|
|
|
2015-12-31 00:11:33 +08:00
|
|
|
docker_package_info:
|
|
|
|
pkg_mgr: yum
|
2021-01-08 06:02:47 +08:00
|
|
|
pkgs:
|
|
|
|
- name: "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
|
|
|
repo: "docker-ce"
|
|
|
|
- name: "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
|
|
|
repo: "docker-ce"
|
|
|
|
- name: "{{ docker_versioned_pkg[docker_version | string] }}"
|
|
|
|
repo: "docker-ce"
|
2015-12-31 00:11:33 +08:00
|
|
|
|
|
|
|
docker_repo_key_info:
|
|
|
|
pkg_key: ''
|
|
|
|
repo_keys: []
|
|
|
|
|
|
|
|
docker_repo_info:
|
|
|
|
pkg_repo: ''
|
|
|
|
repos: []
|