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/CAJ5XC8noTx9r2vQTvwPBwAEnWV7TBhF2aQj9p0JT3LiT3FArAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to