Skip to content

provisioning_locales

The cake function provisioning_locales executes the Ansible role-locales, which configures the servers system language settings.

Information

Key Value
Playbook path plays/provisioning/locales.yml
Role https://git.blunix.com/ansible-roles/role-locales
Tags https://git.blunix.com/ansible-roles/role-locales/-/tags
Defaults https://git.blunix.com/ansible-roles/role-locales/-/blob/master/defaults/main.yml
Config files Description
/etc/locales Defines locales of the server
/etc/hosts Defines FQDNs of the server

Example

inventory/group_vars/all.yml:

locales_present:
  - en_US.UTF-8
  - de_DE.UTF-8

locales_absent:
  - it_IT.UTF-8

locales_default:
  LANG: en_US.UTF-8

Run with cake:

cake -f provisioning_locales -i pub