turns out homebrew set that python path. running from git works as it should.
pixel$ cat `which ansible` #!/bin/bash PYTHONPATH="/usr/local/Cellar/ansible/1.9.2/libexec/lib/python2.7/site-packages:/usr/local/Cellar/ansible/1.9.2/libexec/vendor/lib/python2.7/site-packages" exec "/usr/local/Cellar/ansible/1.9.2/libexec/bin/ansible" "$@" On Wednesday, July 15, 2015 at 10:35:42 AM UTC-7, Brian Coca wrote: > > ansible is not responsible for the yaml version in this case, that > depens on your script, ansible just executes invenory scripts, it does > not even know if it is python, ruby or C, just that it is executable. > > are you setting PYTHONPATH for ansible? in that case the env variable > would get inherited by the subprocess. > > > > -- > Brian Coca > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9976a12a-35ad-48fe-ab9b-978628120314%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
