Skip to content

lordoftheflies/ansible-role-locale

Repository files navigation

title description
Role for locale
Ansible Role for setup locales.

Ansible Role: Locale

Ansible Role for setup locales.

Status

[Build Status

Version

GitHub Release Date

time tracker

Description

Locale is an Ansible Role used to setup and maintain production grade services.

Roadmap

References

Requirements

Production

  • Ansible

Variables

ansible_role_locale_locales

List of presented locales, generate if needed.

Default: []

ansible_role_locale_default_language

Default locale language.

Default value: en

ansible_role_locale_default_variant

Default locale variant.

Default value: US

ansible_role_locale_default_encoding

Default locale encoding.

Default value: UTF-8

Testing

For Local Testing

  • Vagrant - (Tested using version 2.1.1)
  • Vagrant plugins:
    • [vagrant-disksize (0.1.2)](https://github.com/<class 'jinja2.utils.Namespace'>/vagrant-disksize)
    • [vagrant-libvirt](https://github.com/<class 'jinja2.utils.Namespace'>/vagrant-libvirt)
    • vai (0.9.3) - For testing with multiple vms [vagrant-plugin-vai](https://github.com/<class 'jinja2.utils.Namespace'>/vagrant-plugin-vai)
    • [vagrant-vbguest (0.15.2) - Recommended vagrant-vbguest](https://github.com/<class 'jinja2.utils.Namespace'>/vagrant-vbguest)
  • Virtual Box
    • Tested using Version 5.2.14 r123301 (Qt5.6.1)

Testing with Molecule

molecule test

Testing with Vagrant

To test with all VM's defined in Vagrantfile run the following:

cd roles/locale
vagrant up

To run on a specific VM's

vagrant up xenial

Authors

License

Apache 2.0

NOTE: Role generated using ansible-role-skeleton