Skip to content

Configuring "locales" in Debian and Ubuntu, using Ansible

Missing locale settings will result in error messages like:

ads@ansible-ubuntu-03:~$ perl --version
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US:en",
        LC_ALL = (unset),
        LC_PAPER = "de_DE.UTF-8",
        LC_ADDRESS = "de_DE.UTF-8",
        LC_MONETARY = "de_DE.UTF-8",
        LC_NUMERIC = "de_DE.UTF-8",
        LC_TELEPHONE = "de_DE.UTF-8",
        LC_IDENTIFICATION = "de_DE.UTF-8",
        LC_MEASUREMENT = "de_DE.UTF-8",
        LC_TIME = "de_DE.UTF-8",
        LC_NAME = "de_DE.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

This can be configured, but unfortunately the "locale" package does not use the debconf database. This makes it more complicated to configure the locales settings using Ansible.

 

Continue reading "Configuring "locales" in Debian and Ubuntu, using Ansible"
  • Twitter
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Configuring "locales" in Debian and Ubuntu, using Ansible
  • Bloglines Configuring "locales" in Debian and Ubuntu, using Ansible
  • Technorati Configuring "locales" in Debian and Ubuntu, using Ansible
  • Fark this: Configuring "locales" in Debian and Ubuntu, using Ansible
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at YahooMyWeb
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at Furl.net
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at reddit.com
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at blinklist.com
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at Spurl.net
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at Simpy.com
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible at blogmarks
  • Bookmark Configuring "locales" in Debian and Ubuntu, using Ansible with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca