Use virtualenv python binary

When infra-ansible runs in a virtualenv, this line is needed in
order to use the python binary installed in the virtualenv,
otherwise the system-wide is used and you can get dependency issues
due to missing packages on site-packages that are available
on the virtualenv.

Change-Id: I3af50d734ff5d18eee73b124840db9683dc708dd
This commit is contained in:
Ricardo Carrillo Cruz 2016-01-15 09:15:19 +01:00
parent c46fc9b5fd
commit 9c3c6e11c3
1 changed files with 1 additions and 0 deletions

1
hosts
View File

@ -1,2 +1,3 @@
localhost ansible_python_interpreter="/usr/bin/env python"
[local]
127.0.0.1