2017-08-24 09:09:52 +00:00
|
|
|
---
|
2018-03-07 12:11:20 +00:00
|
|
|
# https://docs.docker.com/engine/installation/linux/centos/#install-from-a-package
|
2020-09-23 15:32:19 +00:00
|
|
|
# https://download.docker.com/linux/centos/<centos_version>>/x86_64/stable/Packages/
|
2017-01-23 11:05:43 +00:00
|
|
|
# or do 'yum --showduplicates list docker-engine'
|
|
|
|
docker_versioned_pkg:
|
2018-03-07 12:11:20 +00:00
|
|
|
'latest': docker-ce
|
2020-04-08 17:09:45 +00:00
|
|
|
'18.09': docker-ce-18.09.9-3.el7
|
2021-02-04 21:20:53 +00:00
|
|
|
'19.03': docker-ce-19.03.15-3.el{{ ansible_distribution_major_version }}
|
2021-03-02 10:47:50 +00:00
|
|
|
'20.10': docker-ce-20.10.4-3.el{{ ansible_distribution_major_version }}
|
2021-02-04 21:20:53 +00:00
|
|
|
'stable': docker-ce-19.03.15-3.el{{ ansible_distribution_major_version }}
|
|
|
|
'edge': docker-ce-19.03.15-3.el{{ ansible_distribution_major_version }}
|
2018-03-07 12:11:20 +00:00
|
|
|
|
2020-05-25 12:37:11 +00:00
|
|
|
docker_cli_versioned_pkg:
|
|
|
|
'latest': docker-ce-cli
|
|
|
|
'18.09': docker-ce-cli-18.09.9-3.el7
|
2021-02-04 21:20:53 +00:00
|
|
|
'19.03': docker-ce-cli-19.03.15-3.el{{ ansible_distribution_major_version }}
|
2021-03-02 10:47:50 +00:00
|
|
|
'20.10': docker-ce-cli-20.10.4-3.el{{ ansible_distribution_major_version }}
|
2020-05-25 12:37:11 +00:00
|
|
|
|
2015-12-30 16:11:33 +00:00
|
|
|
docker_package_info:
|
2021-01-07 22:13:14 +00:00
|
|
|
enablerepo: "docker-ce"
|
2021-01-07 22:02:47 +00:00
|
|
|
pkgs:
|
2021-01-07 22:13:14 +00:00
|
|
|
- "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
|
|
|
- "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
|
|
|
- "{{ docker_versioned_pkg[docker_version | string] }}"
|