Clark Boylan fbf8242401 Check if pip is preinstalled before installing it
In ensure-pip we need to check if pip is available before installing it.
If it isn't available proceed and install it otherwise noop.

Change-Id: Id5c5b95995766bde8bb5a9f1862a5f2f95db6f21
2020-04-15 11:00:09 -07:00
..
2020-04-14 10:20:33 +10:00
2020-04-14 10:20:33 +10:00

Ensure pip is available

This role is intended install the requirements for the pip module on hosts.

Jobs that also wish to call pip via shell commands directly can also use this to ensure pip is available. However, it should be noted that calling pip is ambiguous when supporting many platforms. On some platforms it may install the package under the Python 2 interpreter and in others Python 3. You should use a qualified name (pip2 or pip3) to avoid confusion.

Role Variables