dandyrow.linux.locale role – Configure system locale

Note

This role is part of the dandyrow.linux collection (version 2.6.0).

To install it use: ansible-galaxy collection install dandyrow.linux.

To use it in a playbook, specify: dandyrow.linux.locale.

Entry point main – Configure system locale

Synopsis

  • Configure system locale.

Parameters

Parameter

Comments

keymap

string / required

Sets the desired keyboard mapping of the system.

lang

string / required

Desired language to set the system to.

Using the same example as locale, this would be set to en_US.UTF-8 from the first column of locale for American English.

locale

string / required

Desired locale to be set.

Locales are in the format language[_territory][.codeset][@modifier].

For example, American English would be en_US.UTF-8 UTF-8

More information can be found at https://wiki.archlinux.org/title/Locale

Authors

  • Daniel Lowry (github.com/dandyrow)