This role configures different aspects of localization under Linux and Windows. It sets the timezone, the default locale and the keyboard layout during input.
ansible-galaxy install arillso.localizationLinux 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:Default locale and language. See man 7 locale
localization_default_locale: "en_US.UTF-8"
localization_default_language: "en_US.UTF-8"Console keyboard layout (sg = swiss german)
localization_keymap: "sg"Sets the location, format and unicode language settings of a Windows.
localization_region:
location: 223
format: de-CH
unicode_language: de-CHSets the keyboard layout for Windows
localization_keyboardlang: "00000807"if the reboot after global keyboard or region settings change should be skipped
localization_skip_reboot: Truenone
- hosts: all
roles:
- arillso.localizationThis project is under the MIT License. See the LICENSE file for the full license text.
(c) 2019, Arillso