Merge "Update URL for get-pip.py"
This commit is contained in:
commit
deb3e5bc8d
@ -40,8 +40,17 @@
|
||||
- python3_is_available.failed
|
||||
- pip_is_installed.rc != 0
|
||||
block:
|
||||
- name: get python version
|
||||
command: "python --version"
|
||||
register: python_version
|
||||
|
||||
- name: download get-pip.py
|
||||
get_url: url=https://bootstrap.pypa.io/get-pip.py dest=/tmp
|
||||
get_url: url=https://bootstrap.pypa.io/pip/2.7/get-pip.py dest=/tmp
|
||||
when: '"2.7" in python_version.stdout'
|
||||
|
||||
- name: download get-pip.py
|
||||
get_url: url=https://bootstrap.pypa.io/pip/2.6/get-pip.py dest=/tmp
|
||||
when: '"2.6" in python_version.stdout'
|
||||
|
||||
- name: install pip
|
||||
become: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user