2017-08-24 09:09:52 +00:00
|
|
|
---
|
2015-12-30 16:11:33 +00:00
|
|
|
docker_kernel_min_version: '0'
|
|
|
|
|
2018-03-07 12:11:20 +00:00
|
|
|
# https://docs.docker.com/engine/installation/linux/centos/#install-from-a-package
|
|
|
|
# https://download.docker.com/linux/centos/7/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
|
2017-03-01 20:53:39 +00:00
|
|
|
'1.13': docker-engine-1.13.1-1.el7.centos
|
2018-03-07 12:11:20 +00:00
|
|
|
'17.03': docker-ce-17.03.2.ce-1.el7.centos
|
2018-08-02 18:35:16 +00:00
|
|
|
'17.09': docker-ce-17.09.0.ce-1.el7.centos
|
2018-10-04 09:05:55 +00:00
|
|
|
'17.12': docker-ce-17.12.1.ce-1.el7.centos
|
|
|
|
'18.03': docker-ce-18.03.1.ce-1.el7.centos
|
2019-02-13 09:50:53 +00:00
|
|
|
'18.06': docker-ce-18.06.2.ce-3.el7
|
2019-07-15 05:59:05 +00:00
|
|
|
'18.09': docker-ce-18.09.7-3.el7
|
2020-03-14 13:24:35 +00:00
|
|
|
'19.03': docker-ce-19.03.7-3.el7
|
2019-07-15 05:59:05 +00:00
|
|
|
'stable': docker-ce-18.09.7-3.el7
|
2020-03-14 13:24:35 +00:00
|
|
|
'edge': docker-ce-19.03.7-3.el7
|
2018-03-07 12:11:20 +00:00
|
|
|
|
|
|
|
docker_selinux_versioned_pkg:
|
|
|
|
'latest': docker-ce-selinux
|
2018-03-12 03:05:12 +00:00
|
|
|
'1.13': docker-engine-selinux-1.13.1-1.el7.centos
|
2018-03-07 12:11:20 +00:00
|
|
|
'17.03': docker-ce-selinux-17.03.2.ce-1.el7.centos
|
|
|
|
'stable': docker-ce-selinux-17.03.2.ce-1.el7.centos
|
|
|
|
'edge': docker-ce-selinux-17.03.2.ce-1.el7.centos
|
2017-03-02 20:48:09 +00:00
|
|
|
|
2017-01-23 11:05:43 +00:00
|
|
|
|
2018-10-04 09:05:55 +00:00
|
|
|
docker_pkgs_use_docker_ce:
|
|
|
|
- name: "{{ docker_selinux_versioned_pkg[docker_selinux_version | string] }}"
|
|
|
|
yum_conf: "{{ docker_yum_conf }}"
|
|
|
|
- name: "{{ docker_versioned_pkg[docker_version | string] }}"
|
|
|
|
yum_conf: "{{ docker_yum_conf }}"
|
|
|
|
|
|
|
|
docker_pkgs:
|
|
|
|
- name: "{{ docker_versioned_pkg[docker_version | string] }}"
|
|
|
|
yum_conf: "{{ docker_yum_conf }}"
|
|
|
|
|
2015-12-30 16:11:33 +00:00
|
|
|
docker_package_info:
|
|
|
|
pkg_mgr: yum
|
2018-10-04 09:05:55 +00:00
|
|
|
pkgs: |-
|
2018-10-16 22:33:30 +00:00
|
|
|
{%- if docker_version is version('17.04', '<') -%}
|
2018-10-04 09:05:55 +00:00
|
|
|
{{ docker_pkgs_use_docker_ce }}
|
|
|
|
{%- else -%}
|
|
|
|
{{ docker_pkgs }}
|
|
|
|
{%- endif %}
|
2015-12-30 16:11:33 +00:00
|
|
|
|
|
|
|
docker_repo_key_info:
|
|
|
|
pkg_key: ''
|
|
|
|
repo_keys: []
|
|
|
|
|
|
|
|
docker_repo_info:
|
|
|
|
pkg_repo: ''
|
|
|
|
repos: []
|