global ansible (or other provisioner) variables?

16 views
Skip to first unread message

pixel fairy

unread,
Feb 4, 2016, 2:12:41 PM2/4/16
to Vagrant
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?

pixel fairy

unread,
Feb 4, 2016, 2:28:43 PM2/4/16
to Vagrant
cat host_vars/all
ansible_python_interpreter
=/usr/bin/python2.7

at least for ansible, this is easy way.
Reply all
Reply to author
Forward
0 new messages