shhirose.locale
ansible-locale
This Ansible role changes the locale settings for RedHat Enterprise Linux, Ubuntu, and Debian.
Requirements
None
Role Variables
shhirose_locale_locale
: This sets the value for theLANG
variable.
Dependencies
None
Example Playbook
Here's an example:
- hosts: servers
become: yes
roles:
- { role: shhirose.locale }
vars:
shhirose_locale_locale: "ja_JP.UTF-8"
After running, the result on CentOS will be:
$ sudo localectl
System Locale: LANG=ja_JP.UTF-8
VC Keymap: us
X11 Layout: n/a
License
MIT