By the way, I was found that locale can be fixed with this:

    - name: set up locale
shell: echo "echo $'LANGUAGE=en_US.UTF-8\n' > /etc/default/locale" | sudo -s; echo "echo $'LANG=en_US.UTF-8\n' >> /etc/default/locale" | sudo -s; echo "echo $'LC_ALL=en_US.UTF-8\n' >> /etc/default/locale" | sudo -s; echo "echo $'LC_MESSAGES=POSIX\n' >> /etc/default/locale" | sudo -s;
             locale-gen en_US.UTF-8;
             dpkg-reconfigure locales;
             touch /etc/locale_configured;
             creates=/etc/locale_configured

Works on Ubuntu 12.04
On 04.05.2014 12:27, Andrew Pashkin wrote:
False alert! I didnt noticed error messages "cannot allocate memory" in the middle of output. I've just increased VMs memory and everything became OK.
On 02.05.2014 23:35, Andrew Pashkin wrote:

On 02.05.2014 23:24, James Cammarata wrote:
Previously in 1.5.x we set LANG=C specifically to ensure a consistent shell environment. This does create problems for Unicode however, so recently we modified the way it works. In your case, you should set 'module_lang = en_RU.UTF-8' (or en_US.UTF-8 if you wish) in your ansible.cfg under the "[defaults]" section. That value will then be used instead of "C".
If I want to override this variable only for that project or playbook and keep everything else with default values, what is the cleanest way to do that?
Docs says that:
Settings in files are not merged together.
So, I need to copy all stuff from /etc/ansible/ansible.cfg to myproj/ansible.cfg and tweak needed values?

There line in ansible.cfg:
nearly all parameters can be overridden in ansible-playbook
Does it mean, that I can just put module_lang setting in a playbook?




--
With kind regards, Andrew Pashkin.
cell phone - +7 (985) 898 57 59
Skype - waves_in_fluids
e-mail - [email protected]

--
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/537DDDF6.7060506%40gmx.co.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to