locales
Ansible Role to configure locales for language settings, timeformat and so on
Requirements
None
Role Variables
Name | Type | Default value | Purpose | Comment | Role |
---|---|---|---|---|---|
locales_conf | Boolean | false | true/false switch to en/disable role | noble_locales | |
locales_generated | List | - de_CH.UTF-8<br> - de_DE.UTF-8<br> - en_US.UTF-8 |
List of to be generated languages | noble_locales | |
locales_lang | String | "en_US.UTF-8" | primary language, as default english with unicode support | noble_locales | |
locales_lc_time | String | "de_CH.UTF-8" | String to define default timeformat, defaults to swiss-layout | noble_locales | |
keyboard_layout | String | "ch,de,us" | String to define the default keyboard-layout | Already logged in users keyboard layout, will not be overidden | noble_locales |
keyboard_xkbvariant | String | "" | String to define the default keyboard-xkbvariant | needed empty for keyboard layout to work | noble_locales |
Dependencies
None
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: noble_locales, tags: ["noble", "locales", "language", "noble_locales", "locale", "keyboard" ] }
License
BSD
Author Information
Maintainer: Niklaus (Niggi) Kappeler
Support-Contact: servicedesk-linux@id.ethz.ch