mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2024-11-16 10:45:11 +01:00
Merge pull request #15 from michaelpporter/master
Use pip3 when python3
This commit is contained in:
commit
0717b46dc2
@ -10,4 +10,5 @@
|
|||||||
version: "{{ item.version | default(omit) }}"
|
version: "{{ item.version | default(omit) }}"
|
||||||
virtualenv: "{{ item.virtualenv | default(omit) }}"
|
virtualenv: "{{ item.virtualenv | default(omit) }}"
|
||||||
state: "{{ item.state | default(omit) }}"
|
state: "{{ item.state | default(omit) }}"
|
||||||
|
executable: "{{ 'pip3' if pip_package == 'python3-pip' else 'pip' }}"
|
||||||
with_items: "{{ pip_install_packages }}"
|
with_items: "{{ pip_install_packages }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user