Install setuptools when using easy_install
Change-Id: Iee7da01c111a2fdac986861c1da113c075259854 Story: 2003380 Task: 24455
This commit is contained in:
parent
34e410dd46
commit
9b8ee81869
@ -68,8 +68,15 @@
|
||||
activate_virtualenv_path: "{{ virtualenv }}"
|
||||
when: virtualenv is defined
|
||||
|
||||
- name: Ensure pip is installed
|
||||
easy_install:
|
||||
name: pip
|
||||
become: True
|
||||
- block:
|
||||
- name: Ensure the python-setuptools package is installed
|
||||
package:
|
||||
name: python-setuptools
|
||||
state: installed
|
||||
become: True
|
||||
|
||||
- name: Ensure pip is installed
|
||||
easy_install:
|
||||
name: pip
|
||||
become: True
|
||||
when: virtualenv is not defined
|
||||
|
Loading…
Reference in New Issue
Block a user