Install docker-py only when required
alexbrand opened this issue · 0 comments
alexbrand commented
We currently install docker-py unconditionally as part of the docker installation.
Docker-py is required to use the ansible docker_image
module. This module is used in roles/kubernetes/tasks/main.yml
to download and cache docker images on the nodes.
The caching of images is only performed when kubernetes_enable_cached_images == true
. It seems like we could make the installation of docker-py conditional on that same variable.