generated from ansible/desktop
try to fix pip again
This commit is contained in:
parent
30cdc5a707
commit
3066f30dba
|
@ -59,14 +59,17 @@
|
|||
url: "https://bootstrap.pypa.io/get-pip.py"
|
||||
dest: "/tmp/get-pip.py"
|
||||
mode: "0644"
|
||||
when: ansible_python_version | float > 3.5
|
||||
when:
|
||||
- ansible_facts['distribution_major_version'] | int >= 20
|
||||
- ansible_facts['distribution'] == "Ubuntu"
|
||||
|
||||
- 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 | float == 3.5
|
||||
when: (not ansible_facts['distribution_major_version'] | int >= 20
|
||||
or not ansible_facts['distribution'] == "Ubuntu")
|
||||
|
||||
- name: "Install pip"
|
||||
command:
|
||||
|
|
Reference in New Issue