Use pip3!
There are cases where we can fallback to using the pip command instead of the pip module. This can result in some weird cases like everything using python3, and then suddenly ironic being installed with python2. Change-Id: I7228535485d86bbddfc1fbec72006d9df9cd8c05
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
# possibly merge these two tasks when
|
||||
# https://github.com/ansible/ansible-modules-core/pull/2600 lands.
|
||||
- name: "Install from {{ sourcedir }} using pip"
|
||||
command: pip install --upgrade {{ sourcedir }} {{ extra_args | default('') }}
|
||||
command: pip3 install --upgrade {{ sourcedir }} {{ extra_args | default('') }}
|
||||
register: pip_package_install_done
|
||||
until: pip_package_install_done|succeeded
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user