alecunsolo.localize

build status pre-commit

Ansible Role: localize

DISCLAIMER

After this announcement I will not test on RHEL anymore.


This role configure the system-wide locale

Requirements

None.

Role Variables

locale_packages: locales or glibc-locale-source

This is the name of the package containing the locales sources. It is different for EL and Debian.

config_system_locale: en_US.UTF-8

This is the default locale value

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: all
  roles:
     - { role: alecunsolo.localize, config_system_locale: 'it_IT.UTF-8' }

License

MIT

Notes

Testing with molecule (including the docker images used) is stolen from heavily inspired by Jeff Geerling. Watch his video (and the other ones as well).

About

Role to configure system-wide locale

Install
ansible-galaxy install alecunsolo.localize
GitHub repository
License
mit
Downloads
114