This is Ansible role for change locale for RedHat Enterprise Linux, Ubuntu and Debian.
None
- shhirose_locale_locale - The value for variable LANG
None
Example:
- hosts: servers
become: yes
roles:
- { role: shhirose.locale }
vars:
shhirose_locale_locale: "ja_JP.UTF-8"
Result (CentOS):
$ sudo localectl
System Locale: LANG=ja_JP.UTF-8
VC Keymap: us
X11 Layout: n/a
MIT