We've tracked down a bug in our ansible-driven build to the LANG 
environment variable being explicitly set to "C". I'm wondering why this is 
done i.e. why modify it at all? Why not just use the environment of the 
user/account executing the ansible script? It was confusing, because 
running the same commands manually from the ansible user account did not 
reproduce the fault.

I found this post:
https://groups.google.com/forum/#!topic/ansible-project/HD3yxPfsnzg
which says that it is done to avoid encoding issues; which is ironic, as it 
has caused us encoding issues...

We've set module_lang = en_NZ.UTF-8 in ansible.cfg for now.

-- 
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/7aa2587f-423f-450c-87bd-d3b107d1978f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to