2018-08-23 23:06:00 +08:00
|
|
|
---
|
|
|
|
# https://download.docker.com/linux/ubuntu/
|
|
|
|
docker_versioned_pkg:
|
|
|
|
'latest': docker-ce
|
2020-05-28 15:52:02 +08:00
|
|
|
'18.09': docker-ce=5:18.09.9~3-0~ubuntu-{{ ansible_distribution_release|lower }}
|
2021-02-05 05:20:53 +08:00
|
|
|
'19.03': docker-ce=5:19.03.15~3-0~ubuntu-{{ ansible_distribution_release|lower }}
|
2021-06-11 19:32:59 +08:00
|
|
|
'20.10': docker-ce=5:20.10.7~3-0~ubuntu-{{ ansible_distribution_release|lower }}
|
|
|
|
'stable': docker-ce=5:20.10.7~3-0~ubuntu-{{ ansible_distribution_release|lower }}
|
|
|
|
'edge': docker-ce=5:20.10.7~3-0~ubuntu-{{ ansible_distribution_release|lower }}
|
2018-08-23 23:06:00 +08:00
|
|
|
|
2020-05-25 20:37:11 +08:00
|
|
|
docker_cli_versioned_pkg:
|
|
|
|
'latest': docker-ce-cli
|
|
|
|
'18.09': docker-ce-cli=5:18.09.9~3-0~ubuntu-{{ ansible_distribution_release|lower }}
|
2021-02-05 05:20:53 +08:00
|
|
|
'19.03': docker-ce-cli=5:19.03.15~3-0~ubuntu-{{ ansible_distribution_release|lower }}
|
2021-06-11 19:32:59 +08:00
|
|
|
'20.10': docker-ce-cli=5:20.10.7~3-0~ubuntu-{{ ansible_distribution_release|lower }}
|
2020-05-25 20:37:11 +08:00
|
|
|
|
2018-08-23 23:06:00 +08:00
|
|
|
docker_package_info:
|
|
|
|
pkgs:
|
2021-01-08 06:13:14 +08:00
|
|
|
- "{{ containerd_versioned_pkg[containerd_version | string] }}"
|
|
|
|
- "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
|
|
|
|
- "{{ docker_versioned_pkg[docker_version | string] }}"
|
2018-08-23 23:06:00 +08:00
|
|
|
|
|
|
|
docker_repo_key_info:
|
|
|
|
url: '{{ docker_ubuntu_repo_gpgkey }}'
|
|
|
|
repo_keys:
|
2021-02-05 23:44:52 +08:00
|
|
|
- '{{ docker_ubuntu_repo_repokey }}'
|
2018-08-23 23:06:00 +08:00
|
|
|
|
|
|
|
docker_repo_info:
|
|
|
|
repos:
|
|
|
|
- >
|
2020-06-30 03:39:59 +08:00
|
|
|
deb [arch={{ host_architecture }}] {{ docker_ubuntu_repo_base_url }}
|
|
|
|
{{ ansible_distribution_release|lower }}
|
|
|
|
stable
|