Merge pull request #15 from michaelpporter/master

Use pip3 when python3
This commit is contained in:
Jeff Geerling 2018-09-10 10:48:12 -05:00 committed by GitHub
commit 0717b46dc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,4 +10,5 @@
version: "{{ item.version | default(omit) }}"
virtualenv: "{{ item.virtualenv | default(omit) }}"
state: "{{ item.state | default(omit) }}"
executable: "{{ 'pip3' if pip_package == 'python3-pip' else 'pip' }}"
with_items: "{{ pip_install_packages }}"