2017-08-24 17:09:52 +08:00
|
|
|
---
|
2020-05-28 15:52:02 +08:00
|
|
|
docker_version: '19.03'
|
2020-05-25 20:37:11 +08:00
|
|
|
docker_cli_version: "{{ 'latest' if docker_version != 'latest' and docker_version is version('18.09', '<') else docker_version }}"
|
2018-03-07 20:11:20 +08:00
|
|
|
docker_selinux_version: '17.03'
|
2016-04-03 03:55:17 +08:00
|
|
|
|
|
|
|
docker_package_info:
|
|
|
|
pkgs:
|
|
|
|
|
|
|
|
docker_repo_key_info:
|
|
|
|
repo_keys:
|
|
|
|
|
|
|
|
docker_repo_info:
|
|
|
|
repos:
|
2017-06-26 17:29:12 +08:00
|
|
|
|
2018-03-12 11:05:12 +08:00
|
|
|
dockerproject_repo_key_info:
|
|
|
|
repo_keys:
|
|
|
|
|
|
|
|
dockerproject_repo_info:
|
|
|
|
repos:
|
|
|
|
|
2020-08-31 19:56:20 +08:00
|
|
|
docker_cgroup_driver: systemd
|
|
|
|
|
2018-06-05 16:45:02 +08:00
|
|
|
docker_dns_servers_strict: true
|
2017-08-10 06:49:53 +08:00
|
|
|
|
2017-09-25 19:29:17 +08:00
|
|
|
docker_container_storage_setup: false
|
|
|
|
|
2018-03-29 04:10:39 +08:00
|
|
|
# Used to override obsoletes=0
|
|
|
|
yum_conf: /etc/yum.conf
|
2018-05-16 18:56:04 +08:00
|
|
|
yum_repo_dir: /etc/yum.repos.d
|
2018-03-29 04:10:39 +08:00
|
|
|
docker_yum_conf: /etc/yum_docker.conf
|
|
|
|
|
2018-09-20 01:57:20 +08:00
|
|
|
# Fedora docker-ce repo
|
2020-09-23 23:32:19 +08:00
|
|
|
docker_fedora_repo_base_url: 'https://download.docker.com/linux/fedora/{{ ansible_distribution_major_version }}/$basearch/stable'
|
2018-09-20 01:57:20 +08:00
|
|
|
docker_fedora_repo_gpgkey: 'https://download.docker.com/linux/fedora/gpg'
|
2018-03-13 18:15:48 +08:00
|
|
|
# CentOS/RedHat docker-ce repo
|
2020-09-25 21:11:11 +08:00
|
|
|
docker_rh_repo_base_url: 'https://download.docker.com/linux/centos/{{ ansible_distribution_major_version }}/$basearch/stable'
|
2018-03-07 20:11:20 +08:00
|
|
|
docker_rh_repo_gpgkey: 'https://download.docker.com/linux/centos/gpg'
|
2018-03-13 18:15:48 +08:00
|
|
|
# Ubuntu docker-ce repo
|
2018-03-07 20:11:20 +08:00
|
|
|
docker_ubuntu_repo_base_url: "https://download.docker.com/linux/ubuntu"
|
|
|
|
docker_ubuntu_repo_gpgkey: 'https://download.docker.com/linux/ubuntu/gpg'
|
2018-03-13 18:15:48 +08:00
|
|
|
# Debian docker-ce repo
|
2018-03-07 20:11:20 +08:00
|
|
|
docker_debian_repo_base_url: "https://download.docker.com/linux/debian"
|
|
|
|
docker_debian_repo_gpgkey: 'https://download.docker.com/linux/debian/gpg'
|
2018-10-10 10:14:33 +08:00
|
|
|
docker_bin_dir: "/usr/bin"
|
2019-02-01 08:19:48 +08:00
|
|
|
# CentOS/RedHat Extras repo
|
2020-08-21 15:09:55 +08:00
|
|
|
extras_rh_repo_base_url: "http://mirror.centos.org/centos/{{ ansible_distribution_major_version }}/extras/$basearch/"
|
|
|
|
extras_rh_repo_gpgkey: "http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-{{ ansible_distribution_major_version }}"
|
2018-10-13 01:29:51 +08:00
|
|
|
|
|
|
|
# flag to enable/disable docker cleanup
|
|
|
|
docker_orphan_clean_up: false
|
2019-04-02 06:08:35 +08:00
|
|
|
|
|
|
|
# old docker package names to be removed
|
|
|
|
docker_remove_packages_yum:
|
|
|
|
- docker
|
|
|
|
- docker-common
|
|
|
|
- docker-engine
|
|
|
|
- docker-selinux.noarch
|
|
|
|
- docker-client
|
|
|
|
- docker-client-latest
|
|
|
|
- docker-latest
|
|
|
|
- docker-latest-logrotate
|
|
|
|
- docker-logrotate
|
|
|
|
- docker-engine-selinux.noarch
|
|
|
|
|
|
|
|
docker_remove_packages_apt:
|
|
|
|
- docker
|
|
|
|
- docker-engine
|
2020-01-17 16:38:55 +08:00
|
|
|
- docker.io
|