I'm having problems with some hosts running ansible: It complains that there is no simplejson module found. I figured that it is something to do with the way ansible_env.PATH is set as somehow it picks up a very old version of python and i can't figure out where it comes from. I posted the question on stackoverflow and found this thread and other people asking the same thing - but there is still no definitive answer.
I would like to know how this variable is getting set and how i can affect it to make sure that the right version of python is used on the host? http://stackoverflow.com/questions/29289472/ansible-how-ansible-env-path-is-set-in-ssh-session http://grokbase.com/t/gg/ansible-project/1479n0d0qp/ansible-env-path-how-is-it-set thanks a lot! On Monday, April 13, 2015 at 9:47:56 AM UTC-4, Brian Coca wrote: > > you have the environment: keyword that can set path per task, in 1.9 > you can do it per play. > > > > > -- > 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/aaf25e0e-0210-4ab7-bb45-16835e26f824%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
