Fix pip installation failures in overcloud-prep-containers
python2 easy_install command is failing to install pip with version no. To overcome this issue, first install pip using easy_install and install pip version with pip. Closes-Bug: #1927736 Change-Id: Ie07eefb8052e04a40cd93455a8c60b92642ee3c5 Signed-off-by: Amol Kahat <amolkahat@gmail.com>
This commit is contained in:
parent
7184a20d9a
commit
95bb26c152
|
@ -32,7 +32,10 @@
|
|||
# one being too old to be usable. included in openstack distro.
|
||||
|
||||
- name: easy-install pip
|
||||
command: "{{ python_cmd }} -m easy_install pip==20.3.4"
|
||||
shell: |-
|
||||
"{{ python_cmd }} -m easy_install pip"
|
||||
"{{ python_cmd }} -m pip install pip==20.3.4"
|
||||
changed_when: true
|
||||
|
||||
- name: Update pip
|
||||
# noqa 403
|
||||
|
|
Loading…
Reference in New Issue