{"id":19568897,"url":"https://github.com/buluma/ansible-role-locale","last_synced_at":"2026-07-31T08:30:16.858Z","repository":{"id":40781806,"uuid":"455909147","full_name":"buluma/ansible-role-locale","owner":"buluma","description":"Configure locale on your system.","archived":false,"fork":false,"pushed_at":"2024-11-13T19:16:07.000Z","size":144,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T01:59:18.709Z","etag":null,"topics":["ansible","locale"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buluma.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"buluma"}},"created_at":"2022-02-05T15:36:08.000Z","updated_at":"2024-07-19T00:37:33.000Z","dependencies_parsed_at":"2024-01-06T09:20:23.070Z","dependency_job_id":"4575ce1a-7766-42db-9b2d-f5a73fc4bf08","html_url":"https://github.com/buluma/ansible-role-locale","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fansible-role-locale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fansible-role-locale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fansible-role-locale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fansible-role-locale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buluma","download_url":"https://codeload.github.com/buluma/ansible-role-locale/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240832091,"owners_count":19864857,"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","locale"],"created_at":"2024-11-11T06:06:51.333Z","updated_at":"2026-07-31T08:30:16.753Z","avatar_url":"https://github.com/buluma.png","language":"Jinja","funding_links":["https://github.com/sponsors/buluma"],"categories":[],"sub_categories":[],"readme":"# Ansible role [locale](https://galaxy.ansible.com/ui/standalone/roles/buluma/locale/documentation)\n\nConfigure locale on your system.\n\n|GitHub|Version|Issues|Pull Requests|Downloads|\n|------|-------|------|-------------|---------|\n|[![github](https://github.com/buluma/ansible-role-locale/actions/workflows/molecule.yml/badge.svg)](https://github.com/buluma/ansible-role-locale/actions/workflows/molecule.yml)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-locale.svg)](https://github.com/buluma/ansible-role-locale/releases/)|[![Issues](https://img.shields.io/github/issues/buluma/ansible-role-locale.svg)](https://github.com/buluma/ansible-role-locale/issues/)|[![PullRequests](https://img.shields.io/github/issues-pr-closed-raw/buluma/ansible-role-locale.svg)](https://github.com/buluma/ansible-role-locale/pulls/)|[![Ansible Role](https://img.shields.io/ansible/role/d/buluma/locale)](https://galaxy.ansible.com/ui/standalone/roles/buluma/locale/documentation)|\n\n## [Example Playbook](#example-playbook)\n\nThis example is taken from [`molecule/default/converge.yml`](https://github.com/buluma/ansible-role-locale/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.\n\n```yaml\n---\n- name: Converge\n  hosts: all\n  become: true\n  gather_facts: true\n\n  roles:\n    - role: buluma.locale\n      locale_lang: de_AT.UTF-8\n```\n\nThe machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/buluma/ansible-role-locale/blob/master/molecule/default/prepare.yml):\n\n```yaml\n---\n- name: Prepare\n  hosts: all\n  gather_facts: false\n  become: true\n\n  roles:\n    - role: buluma.bootstrap\n```\n\nAlso see a [full explanation and example](https://buluma.github.io/how-to-use-these-roles.html) on how to use these roles.\n\n## [Role Variables](#role-variables)\n\nThe default values for the variables are set in [`defaults/main.yml`](https://github.com/buluma/ansible-role-locale/blob/master/defaults/main.yml):\n\n```yaml\n---\n# defaults file for locale\n\n# Set one locale from the output of the shell command `locale -a`.\n# A few common locales: en_US.UTF-8, nl_NL.utf8, C.utf8, POSIX\n\nlocale_lang: en_US.UTF-8\nlocale_language: \"{{ locale_lang }}\"\nlocale_lc_address: \"{{ locale_lang }}\"\nlocale_lc_all: \"{{ locale_lang }}\"\nlocale_lc_collate: \"{{ locale_lang }}\"\nlocale_lc_ctype: \"{{ locale_lang }}\"\nlocale_lc_identification: \"{{ locale_lang }}\"\nlocale_lc_measurement: \"{{ locale_lang }}\"\nlocale_lc_messages: \"{{ locale_lang }}\"\nlocale_lc_monetary: \"{{ locale_lang }}\"\nlocale_lc_name: \"{{ locale_lang }}\"\nlocale_lc_numeric: \"{{ locale_lang }}\"\nlocale_lc_paper: \"{{ locale_lang }}\"\nlocale_lc_response: \"{{ locale_lang }}\"\nlocale_lc_telephone: \"{{ locale_lang }}\"\nlocale_lc_time: \"{{ locale_lang }}\"\n\nlocale_timezone: Etc/UTC\n```\n\n## [Requirements](#requirements)\n\n- pip packages listed in [requirements.txt](https://github.com/buluma/ansible-role-locale/blob/master/requirements.txt).\n\n## [State of used roles](#state-of-used-roles)\n\nThe following roles are used to prepare a system. You can prepare your system in another way.\n\n| Requirement | GitHub | Version |\n|-------------|--------|--------|\n|[buluma.bootstrap](https://galaxy.ansible.com/buluma/bootstrap)|[![Ansible Molecule](https://github.com/buluma/ansible-role-bootstrap/actions/workflows/molecule.yml/badge.svg)](https://github.com/buluma/ansible-role-bootstrap/actions/workflows/molecule.yml)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-bootstrap.svg)](https://github.com/shadowwalker/ansible-role-bootstrap)|\n\n## [Context](#context)\n\nThis role is a part of many compatible roles. Have a look at [the documentation of these roles](https://buluma.github.io/) for further information.\n\nHere is an overview of related roles:\n\n![dependencies](https://raw.githubusercontent.com/buluma/ansible-role-locale/png/requirements.png \"Dependencies\")\n\n## [Compatibility](#compatibility)\n\nThis role has been tested on these [container images](https://hub.docker.com/u/buluma):\n\n|container|tags|\n|---------|----|\n|[Amazon](https://hub.docker.com/r/buluma/amazonlinux)|Candidate|\n|[EL](https://hub.docker.com/r/buluma/enterpriselinux)|8|\n|[Debian](https://hub.docker.com/r/buluma/debian)|all|\n|[Fedora](https://hub.docker.com/r/buluma/fedora)|all|\n|[opensuse](https://hub.docker.com/r/buluma/opensuse)|all|\n|[Ubuntu](https://hub.docker.com/r/buluma/ubuntu)|all|\n\nThe minimum version of Ansible required is 2.12, tests have been done to:\n\n- The previous version.\n- The current version.\n- The development version.\n\nIf you find issues, please register them in [GitHub](https://github.com/buluma/ansible-role-locale/issues)\n\n## [Changelog](#changelog)\n\n[Role History](https://github.com/buluma/ansible-role-locale/blob/master/CHANGELOG.md)\n\n## [License](#license)\n\n[Apache-2.0](https://github.com/buluma/ansible-role-locale/blob/master/LICENSE)\n\n## [Author Information](#author-information)\n\n[Shadow Walker](https://buluma.github.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuluma%2Fansible-role-locale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuluma%2Fansible-role-locale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuluma%2Fansible-role-locale/lists"}