locale

Locale Configuration

Generates and sets the specified system locale files for target hosts.

Requirements

The only requirements for this role are a Debian host with the locale-gen and dpkg-reconfigure commands.

Role Variables

This role contains a single variable:

ansible-locales:

Example Playbook

Default Locales (en_US and en_CA)

- hosts: servers
  roles:
    - { role: amaabca.ansible-locale }

With Custom Locales

- hosts: servers
  roles:
    - { role: amaabca.ansible-locale, ansible_locales: ['en_HK'] }

License

MIT

Author Information

Built by the web team at AMA - https://github.com/amaabca.

About

Configure the Locale for Debian Systems

Install
ansible-galaxy install amaabca/ansible-locale
GitHub repository
License
mit
Downloads
367