mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-13 15:09:40 -02:30
Speed up old docker package removal (#4408)
Both the `yum` and `apt` modules support a list as input, this allows us avoid the slower `with_items` approach, which can take a long time with a large count of cluster nodes.
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
5f12b7aedf
commit
5d5c9cab19
@@ -50,3 +50,21 @@ extras_rh_repo_gpgkey: "http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7"
|
||||
|
||||
# flag to enable/disable docker cleanup
|
||||
docker_orphan_clean_up: false
|
||||
|
||||
# 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
|
||||
- docker.io
|
||||
Reference in New Issue
Block a user