I\'m just getting started with ansible, and I\'m trying to get it to work with the linode module from OSX Yosemite. I\'m using brew-installed Python, and pip-instal
linode
It's happening on ubuntu as well, finally figured out the solution. You need to explicity pass path to python executable
Change Ansible hosts file from
[local] localhost
to
[local] localhost ansible_python_interpreter=/usr/local/bin/python
or to your virtual environment python path.