Merge "there is no easy_install in Debian 'buster'"

This commit is contained in:
Zuul 2019-05-31 11:19:20 +00:00 committed by Gerrit Code Review
commit 6c042adfa2

View File

@ -71,8 +71,11 @@ docker_runtime_directory: ""
# Ubuntu 18+ does not have easy_install available due to
# https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/1774419.
easy_install_available: >-
{{ ansible_distribution != 'Ubuntu' or
ansible_distribution_major_version is version(18, 'lt') }}
{{ not (ansible_distribution == 'Ubuntu' and
ansible_distribution_major_version is version(18, 'ge'))
and
not (ansible_distribution == 'Debian' and
ansible_distribution_major_version is version(10, 'ge')) }}
debian_pkg_install:
- "{{ docker_apt_package }}"