Skip to content

while-true-do/ansible-role-localization

Build Status

Ansible Role: localization

| A role to set the localization and keymap.

Motivation

Having a proper configuration of keymap and localization is a very common task.

Installation

Install from Ansible Galaxy

ansible-galaxy install while_true_do.localization

Install from Github

git clone https://github.com/while-true-do/ansible-role-localization.git while_true_do.localization

Requirements

Used Modules:

Dependencies

None.

Role Variables

wtd_locale_lang: "en_US.utf8"
wtd_locale_keymap: "us"

# Unset variables, but you can use them in your tasks, vars or so
wtd_locale_lc_address: ""
wtd_locale_lc_collate: ""
wtd_locale_lc_ctype: ""
wtd_locale_lc_identification: ""
wtd_locale_lc_measurement: ""
wtd_locale_lc_messages: ""
wtd_locale_lc_monetary: ""
wtd_locale_lc_name: ""
wtd_locale_lc_numeric: ""
wtd_locale_lc_paper: ""
wtd_locale_lc_telephone: ""
wtd_locale_lc_time: ""

Example Playbook

Simple Example:

- hosts: servers
  roles:
  - { role: while_true_do.localization }

Testing

All tests should be put in test directory.

Contribute / Bugs

Thank you so much for considering to contribute. Every contribution helps us. We are really happy, when somebody is joining the hard work. Please have a look at the links first.

License

This work is licensed under a BSD License.

Author Information

Site: while-true-do.org

Mail: hello@while-true-do.org

Releases

No releases published

Packages

No packages published

Languages