shhirose.locale
ansible-locale
これは、RedHat Enterprise Linux、Ubuntu、Debianのロケールを変更するためのAnsibleロールです。
要件
なし
ロール変数
- shhirose_locale_locale - 変数LANGの値
依存関係
なし
例プレイブック
例:
- hosts: servers
become: yes
roles:
- { role: shhirose.locale }
vars:
shhirose_locale_locale: "ja_JP.UTF-8"
結果(CentOS):
$ sudo localectl
システムロケール: LANG=ja_JP.UTF-8
VCキーマップ: us
X11レイアウト: n/a
ライセンス
MIT