Add check of pip install in the virtualenv

Change-Id: Ic392848900e42338cac6c1880c9ad2a1ba09c240
Story: 2004510
This commit is contained in:
Kevin Tibi 2018-12-03 14:17:09 +01:00
parent e103d455ee
commit 6586612467
1 changed files with 6 additions and 0 deletions

View File

@ -52,6 +52,12 @@
mode: 0700
become: True
- name: Ensure pip is installed
easy_install:
name: pip
virtualenv: "{{ virtualenv }}"
virtualenv_site_packages: True
- name: Ensure kayobe virtualenv has the latest version of pip installed
pip:
name: pip