Installs the specified locales and language packs.
Pull request Compare This branch is 1 commit ahead of dstil:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
defaults
meta
tasks
README.md

README.md

Locales role for Ansible

Installs the specified locales and language packs. By default, we set the locale to 'straya.

Requirements

Tested on Ubuntu 12.04 Server.

Role Variables

The default variables are as follows:

locale: 'en_AU'
encoding: 'UTF-8'
locales_user: '{{ ansible_ssh_user }}'
locale_language_packs:
  - 'language-pack-en'
  - 'language-pack-en-base'

Example Playbook

- hosts: 'servers'
  roles:
    - role: 'ssilab.locales'
      locale: 'en_AU'
      encoding: 'UTF-8'
      locales_user: 'hercules'

License

This playbook is provided 'as-is' under the conditions of the BSD license. No fitness for purpose is guaranteed or implied.