cat host_vars/all 
ansible_python_interpreter=/usr/bin/python2.7

at least for ansible, this is easy way.

On Thursday, February 4, 2016 at 11:12:41 AM UTC-8, pixel fairy wrote:
>
> ubuntu 15.10 no longer ships with python2, you have to install it. thats 
> easy with a global provision.
>
> but, you also have to tell ansible the path of python interpreter, usually 
> in the inventory. is there an easy way to do this for all relevant 
> instances in a vagrant file?
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/f2777101-8025-4b4b-b0b9-3edee07943cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to