locales

Ansible Role to configure locales for language settings, timeformat and so on

Requirements

None

Role Variables

Name Type Default value Purpose Comment Role
locales_conf Boolean false true/false switch to en/disable role jammy_locales
locales_generated List - de_CH.UTF-8<br> - de_DE.UTF-8<br> - en_US.UTF-8 List of to be generated languages jammy_locales
locales_lang String "en_US.UTF-8" primary language, as default english with unicode support jammy_locales
locales_lc_time String "de_CH.UTF-8" String to define default timeformat, defaults to swiss-layout jammy_locales
locales_xlayout String "us" String to define keyboard-layout for gnome-session/GDM can be "us", "de_ch" & "de" jammy_locales
gnome_conf Boolean false defaults gnome_conf to false, so as default gnome install is skipped multirole

Dependencies

None

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
   - { role: jammy_locales, tags: ["jammy", "locales", "language", "jammy_locales", "locale", "xkeys" ] }

License

BSD

Author Information

Maintainer: Niklaus (Niggi) Kappeler

Support-Contact: servicedesk-linux@id.ethz.ch