shhirose.locale

ansible-locale

构建状态 MIT许可证

这是一个用于为RedHat企业版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

关于项目

This is Ansible role for change locale for RedHat Enterprise Linux.

安装
ansible-galaxy install shhirose.locale
许可证
mit
下载
558
拥有者