Launch virtualenv should be python2

virtualenv on the puppetmaster is defaulting to python3 now but all our
dev header files for python are for python2. Force python2 when creating
the virtualenv so that pycrypto can be built. Additionally ansible
likely wants python2 here anyways.

Change-Id: I19bc1985fc4b6a722b10fb0b89a86127e27340fe
This commit is contained in:
Clark Boylan 2017-12-11 05:50:16 -08:00
parent 26b07daa5b
commit 7c37d2bffc

View File

@ -16,7 +16,7 @@ Launching a node currently requires a different version of ansible
than what is generally used on the puppetmaster. Set up a
virtualenv::
virtualenv ~/launch-env/
virtualenv -p python2 ~/launch-env/
. ~/launch-env/bin/activate
pip install ansible==2.1.1.0 shade==1.12.1