{"id":18555172,"url":"https://github.com/arillso/ansible.localization","last_synced_at":"2025-05-15T12:09:48.242Z","repository":{"id":68261882,"uuid":"191028703","full_name":"arillso/ansible.localization","owner":"arillso","description":"This role configures different aspects of localization under Linux and Windows.","archived":false,"fork":false,"pushed_at":"2019-07-21T14:24:00.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T11:16:05.715Z","etag":null,"topics":["ansible","ansible-role","localization"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arillso.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-09T16:19:08.000Z","updated_at":"2019-07-21T14:23:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f93271c-6125-4ece-a696-099f1bcb09e0","html_url":"https://github.com/arillso/ansible.localization","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillso%2Fansible.localization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillso%2Fansible.localization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillso%2Fansible.localization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillso%2Fansible.localization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arillso","download_url":"https://codeload.github.com/arillso/ansible.localization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337596,"owners_count":22054254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","localization"],"created_at":"2024-11-06T21:25:31.324Z","updated_at":"2025-05-15T12:09:48.214Z","avatar_url":"https://github.com/arillso.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: localization\n\n[![Build Status](https://img.shields.io/travis/arillso/ansible.localization.svg?branch=master\u0026style=popout-square)](https://travis-ci.org/arillso/ansible.localization) [![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=popout-square)](https://sbaerlo.ch/licence) [![Ansible Galaxy](https://img.shields.io/badge/ansible--galaxy-localization-blue.svg?style=popout-square)](https://galaxy.ansible.com/arillso/localization) [![Ansible Role](https://img.shields.io/ansible/role/d/id.svg?style=popout-square)](https://galaxy.ansible.com/arillso/localization)\n\n## Description\n\nThis role configures different aspects of localization under Linux and Windows. It sets the timezone, the default locale and the keyboard layout during input.\n\n## Installation\n\n```bash\nansible-galaxy install arillso.localization\n```\n\n## Requirements\n\n## Role Variables\n\n### timezone\n\nLinux and Windows use different Timezone formats. Therefore, for each OS a variable is provided for the Timezone\n\n```yml\nlocalization_timezone_windows: 'W. Europe Standard Time'\nlocalization_timezone_linux: 'Europe/Zurich'\n```\n\nAlternatively, the variable 'localization_timezone' can be used directly. Make sure to use the correct format.\n\n```yml\nlocalization_timezone:\n```\n\n### Linux\n\n#### locale\n\nDefault locale. See `man 7 locale`\n\n```yml\nlocalization_default_locale: 'en_US.UTF-8'\n```\n\n#### console keyboard\n\nConsole keyboard layout (sg = swiss german)\n\n```yml\nlocalization_keymap: 'sg'\n```\n\n### Windows\n\n#### region\n\nSets the location, format and unicode language settings of a Windows.\n\n```yml\nlocalization_region:\n  location: 223\n  format: de-CH\n  unicode_language: de-CH\n```\n\n#### keyboard input\n\nSets the keyboard layout for Windows\n\n```yml\nlocalization_inputlang: 0807:00000807\n```\n\n## Dependencies\n\nnone\n\n## Example Playbook\n\n```yml\n- hosts: all\n  roles:\n    - arillso.localization\n```\n\n## Author\n\n- [Simon Bärlocher](https://sbaerlocher.ch)\n\n## License\n\nThis project is under the MIT License. See the [LICENSE](https://sbaerlo.ch/licence) file for the full license text.\n\n## Copyright\n\n(c) 2019, Arillso\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farillso%2Fansible.localization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farillso%2Fansible.localization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farillso%2Fansible.localization/lists"}