Use override pip_upstream_url for get-pip

The I693b930bf337fd08931d835d57ffe9ecae904517 introduces the new
issue on environments where https://bootstrap.pypa.io not reachable
and overrided by pip_upstream_url setting.

Change-Id: I79d95f0efff4af41850de39632a95a6b6a7dc933
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
Maksim Malchuk 2018-06-05 17:20:08 +03:00
parent 61c507104b
commit 7d6d5f0d06
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@
- name: Get /opt/get-pip.py if it does not exist
get_url:
url: "https://bootstrap.pypa.io/get-pip.py"
url: "{{ pip_upstream_url | default('https://bootstrap.pypa.io/get-pip.py') }}"
dest: "/opt/get-pip.py"
force: no
register: _get_pip