install the virtualenv package with pip because the apt version is old and conflicts with the recent version of pip we're using

This commit is contained in:
Noah Levitt 2016-11-07 17:51:43 -08:00
parent 99feeab581
commit abca90a128
4 changed files with 5 additions and 3 deletions

View file

@ -9,7 +9,6 @@
become: true
apt: name={{item}} state=present
with_items:
- python-virtualenv
- vnc4server
- chromium-browser
- xfonts-base

View file

@ -19,6 +19,10 @@
command: python3 setup.py install chdir=/tmp/pip-8.1.2
creates=/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/__init__.py
become: true
- name: run "pip install virtualenv"
command: pip install virtualenv
creates=/usr/local/lib/python3.4/dist-packages/virtualenv.py
become: true
- command: id {{user}}
register: id_user
ignore_errors: true

View file

@ -4,7 +4,6 @@
apt: name={{item}} state=present
with_items:
- gcc
- python-virtualenv
- python3.4
- libpython3.4-dev
- libffi-dev