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:
Julia Kreger
2020-01-02 16:35:12 -08:00
parent 31b552c511
commit 4d16d13ab7
2 changed files with 2 additions and 2 deletions

View File

@@ -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