2017-08-24 17:09:52 +08:00
|
|
|
---
|
2024-02-05 13:55:19 +08:00
|
|
|
docker_version: '24.0'
|
2021-01-08 06:02:47 +08:00
|
|
|
docker_cli_version: "{{ docker_version }}"
|
2016-04-03 03:55:17 +08:00
|
|
|
|
|
|
|
docker_package_info:
|
|
|
|
pkgs:
|
|
|
|
|
2023-10-13 10:06:04 +08:00
|
|
|
# Path where to store repo key
|
|
|
|
# docker_repo_key_keyring: /etc/apt/trusted.gpg.d/docker.gpg
|
|
|
|
|
2016-04-03 03:55:17 +08:00
|
|
|
docker_repo_key_info:
|
|
|
|
repo_keys:
|
|
|
|
|
|
|
|
docker_repo_info:
|
|
|
|
repos:
|
2017-06-26 17:29:12 +08:00
|
|
|
|
2020-08-31 19:56:20 +08:00
|
|
|
docker_cgroup_driver: systemd
|
|
|
|
|
2018-10-10 10:14:33 +08:00
|
|
|
docker_bin_dir: "/usr/bin"
|
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
|
|
|
|
|
2021-09-29 21:32:48 +08:00
|
|
|
# remove podman to avoid containerd.io confliction
|
|
|
|
podman_remove_packages_yum:
|
|
|
|
- podman
|
|
|
|
|
2019-04-02 06:08:35 +08:00
|
|
|
docker_remove_packages_apt:
|
|
|
|
- docker
|
|
|
|
- docker-engine
|
2020-01-17 16:38:55 +08:00
|
|
|
- docker.io
|
2021-10-20 23:47:58 +08:00
|
|
|
|
|
|
|
# Docker specific repos should be part of the docker role not containerd-common anymore
|
|
|
|
# Optional values for containerd apt repo
|
|
|
|
containerd_package_info:
|
|
|
|
pkgs:
|
|
|
|
|
|
|
|
# Fedora docker-ce repo
|
|
|
|
docker_fedora_repo_base_url: 'https://download.docker.com/linux/fedora/{{ ansible_distribution_major_version }}/$basearch/stable'
|
|
|
|
docker_fedora_repo_gpgkey: 'https://download.docker.com/linux/fedora/gpg'
|
|
|
|
|
|
|
|
# CentOS/RedHat docker-ce repo
|
|
|
|
docker_rh_repo_base_url: 'https://download.docker.com/linux/centos/{{ ansible_distribution_major_version }}/$basearch/stable'
|
|
|
|
docker_rh_repo_gpgkey: 'https://download.docker.com/linux/centos/gpg'
|
|
|
|
|
|
|
|
# Ubuntu docker-ce repo
|
|
|
|
docker_ubuntu_repo_base_url: "https://download.docker.com/linux/ubuntu"
|
|
|
|
docker_ubuntu_repo_gpgkey: 'https://download.docker.com/linux/ubuntu/gpg'
|
|
|
|
docker_ubuntu_repo_repokey: '9DC858229FC7DD38854AE2D88D81803C0EBFCD88'
|
|
|
|
|
|
|
|
# Debian docker-ce repo
|
|
|
|
docker_debian_repo_base_url: "https://download.docker.com/linux/debian"
|
|
|
|
docker_debian_repo_gpgkey: 'https://download.docker.com/linux/debian/gpg'
|
|
|
|
docker_debian_repo_repokey: '9DC858229FC7DD38854AE2D88D81803C0EBFCD88'
|