buluma.locale

Ansible Role: Locale

This role helps you set up the locale on your system.

GitHub Version Issues Pull Requests Downloads
GitHub Version Issues Pull Requests Ansible Role

Example Playbook

This example is taken from the file molecule/default/converge.yml and is tested with every code change, pull request, and release.

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: buluma.locale
      locale_lang: de_AT.UTF-8

Prepare the machine using the file molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  gather_facts: false
  become: true

  roles:
    - role: buluma.bootstrap

For more details, see this full explanation and example on using these roles.

Role Variables

Default values for the variables are in the file defaults/main.yml:

---
# defaults file for locale

locale_lang: en_US.UTF-8
locale_language: "{{ locale_lang }}"
locale_lc_address: "{{ locale_lang }}"
locale_lc_all: "{{ locale_lang }}"
locale_lc_collate: "{{ locale_lang }}"
locale_lc_ctype: "{{ locale_lang }}"
locale_lc_identification: "{{ locale_lang }}"
locale_lc_measurement: "{{ locale_lang }}"
locale_lc_messages: "{{ locale_lang }}"
locale_lc_monetary: "{{ locale_lang }}"
locale_lc_name: "{{ locale_lang }}"
locale_lc_numeric: "{{ locale_lang }}"
locale_lc_paper: "{{ locale_lang }}"
locale_lc_response: "{{ locale_lang }}"
locale_lc_telephone: "{{ locale_lang }}"
locale_lc_time: "{{ locale_lang }}"

locale_timezone: Etc/UTC

Requirements

State of Used Roles

The following roles help prepare your system. You can choose a different way to prepare your system.

Requirement GitHub Version
buluma.bootstrap Ansible Molecule Version

Context

This role is part of many compatible roles. For more information, check out the documentation of these roles.

Here’s an overview of related roles:

dependencies

Compatibility

This role has been tested on these container images:

Container Tags
Amazon Candidate
EL 8
Debian All
Fedora All
OpenSUSE All
Ubuntu All

The minimum required Ansible version is 2.12. Tests have been conducted on:

  • The previous version.
  • The current version.
  • The development version.

If you find any issues, please report them on GitHub.

Changelog

Role History

License

Apache-2.0

Author Information

Shadow Walker

Informazioni sul progetto

Configure locale on your system.

Installa
ansible-galaxy install buluma.locale
Licenza
apache-2.0
Download
31k
Proprietario
DevOps Engineer