Skip to content

spali/ansible_localization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: localization

Build Status license Ansible Galaxy Ansible Role

Description

This role configures different aspects of localization under Linux and Windows. It sets the timezone, the default locale and the keyboard layout during input.

Installation

ansible-galaxy install arillso.localization

Requirements

Role Variables

timezone

Linux and Windows use different Timezone formats. Therefore, for each OS a variable is provided for the Timezone

localization_timezone_windows: "W. Europe Standard Time"
localization_timezone_linux: "Europe/Zurich"

Alternatively, the variable 'localization_timezone' can be used directly. Make sure to use the correct format.

localization_timezone:

Linux

locale and language

Default locale and language. See man 7 locale

localization_default_locale: "en_US.UTF-8"
localization_default_language: "en_US.UTF-8"

console keyboard

Console keyboard layout (sg = swiss german)

localization_keymap: "sg"

Windows

region

Sets the location, format and unicode language settings of a Windows.

localization_region:
  location: 223
  format: de-CH
  unicode_language: de-CH

keyboard input

Sets the keyboard layout for Windows

localization_keyboardlang: "00000807"

Skip Reboot

if the reboot after global keyboard or region settings change should be skipped

localization_skip_reboot: True

Dependencies

none

Example Playbook

- hosts: all
  roles:
    - arillso.localization

Author

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2019, Arillso

About

This role configures different aspects of localization under Linux and Windows.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors