Pull correct upstream pip version
Recent release of pip removed support for Python 3.6 [1] Configure default url for pip, depending on supported Python version. [1]: https://pip.pypa.io/en/stable/news/#v22-0 Change-Id: I01faeba1dff864de31b3bbf9ddbe0a4d454fdbe9
This commit is contained in:
parent
62cc9b24e1
commit
1f76342ccf
@ -1,6 +1,6 @@
|
||||
ensure_pip_from_packages: True
|
||||
ensure_pip_from_packages_with_python2: '{{ (ansible_python.version.major == 2) | ternary(True, False) }}'
|
||||
ensure_pip_from_upstream_url: 'https://bootstrap.pypa.io/get-pip.py'
|
||||
ensure_pip_from_upstream_url: '{{ ansible_python_version is version("3.7", ">=") | ternary("https://bootstrap.pypa.io/get-pip.py", "https://bootstrap.pypa.io/pip/3.6/get-pip.py") }}'
|
||||
ensure_pip_from_upstream: False
|
||||
ensure_pip_from_upstream_interpreters:
|
||||
- '{{ ansible_python.executable | regex_replace(".*python", "python") }}'
|
||||
|
Loading…
Reference in New Issue
Block a user