yes, i have misstated the problem in my initial question a bit, sorry.
I know about the ansible_python_interpreter and it does take care of the 
simplejson error, as instead of using the interpreter that is available in 
PATH it uses what i have specified.
So the only question about that variable right now for me is if this can be 
set globally? I'll take a look at the ansible.cfg related docs.

as for the PATH or ansible_env.PATH my current understanding is that the 
idea is to avoid creation of playbooks that might depend too heavily on t 
the PATH and therefore may become error prone. The way to change though is 
through "environment: PATH". 
Am I correct?

Thanks!

On Friday, April 17, 2015 at 10:23:48 AM UTC-4, Brian Coca wrote:
>
> ansible_env.PATH is a reflection of the PATH variable on the system 
> when ansible gathered facts, ansible does not set the path in a 
> special maner. The PATH is set by the host as it would for any other 
> non login process (not sourcing .bashrc or other shell equivalents). 
>
> If you are having issues using the correct python try setting 
> ansible_python_interpreter for that host to the correct python. 
>
>
> -- 
> 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/c174d81d-e0e1-4f5b-a310-a1c80bceaa6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to