generated from ansible/desktop
install pip matching the python version
This commit is contained in:
parent
2f7cbf2eba
commit
af59d64abd
|
@ -59,6 +59,14 @@
|
|||
url: "https://bootstrap.pypa.io/get-pip.py"
|
||||
dest: "/tmp/get-pip.py"
|
||||
mode: "0644"
|
||||
when: ansible_python_version > 3.5
|
||||
|
||||
- name: "Download Pip"
|
||||
get_url:
|
||||
url: "https://bootstrap.pypa.io/pip/3.5/get-pip.py"
|
||||
dest: "/tmp/get-pip.py"
|
||||
mode: "0644"
|
||||
when: ansible_python_version == 3.5
|
||||
|
||||
- name: "Install pip"
|
||||
command:
|
||||
|
|
Reference in New Issue