locale
locale
Configure system locale
Role Variables
These variables are set in defaults/main.yml
:
---
locale_locale_gen:
- en_US.UTF-8
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 }}"
# valid options: `present`, `absent`, `latest`.
locale_package_state: present
# The role skips tasks that will typically fail in Docker.
# With this parameter you can tell the role to -not- skip these tasks.
locale_ignore_docker: yes
Example Playbook
- hosts: servers
become: true
vars:
locale_locale_gen:
- en_US.UTF-8
- en_DK.UTF-8
locale_lang: en_US.UTF-8
locale_lc_time: en_DK.UTF-8
roles:
- { role: enqack.local }
License
BSD
Author Information
Steve Verhelle (enqack)
Install
ansible-galaxy install enqack/ansible-role-locale
License
bsd-3-clause
Downloads
33
Owner