Open cpappen opened 9 years ago
It may be related to this issue in ansible
Although they recommend to put module_lang
into [defaults]
section, it didn't help me
Also I tried this workaround for locale_gen
module, but it didn't help either
So, I had to use the solution from @cleitonpp , although it's not an ansible script
Hello, actually our time pass to same problem. Provision on mac(Yosemite) runs fine but the same provision on ubuntu (15:10) occurs the mentioned error. To solve this put this task before install postresql:
- name: "configuring locales"
shell: export LANGUAGE="en_US.UTF-8" && echo 'LANGUAGE="en_US.UTF-8"' >> /etc/default/locale && echo 'LC_ALL="en_US.UTF-8"' >> /etc/default/locale
This solve the locale problems. Now runs fine on Mac and Ubuntu!
My first attempt trying to install railsbox, i got this error while running ansible:
To solve this problem it was necessary log in vagrant ssh and type:
and now run provision to check again:
Probably there is something missing on locale settings.