From 9c3c6e11c3c3234054788551d93a0ccd6f384c10 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Fri, 15 Jan 2016 09:15:19 +0100 Subject: [PATCH] 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 --- hosts | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts b/hosts index 75474c8..b061e75 100644 --- a/hosts +++ b/hosts @@ -1,2 +1,3 @@ +localhost ansible_python_interpreter="/usr/bin/env python" [local] 127.0.0.1