ansible / ansible.builtin / v2.4.3.0-1 / module / locale_gen Creates or removes locales. | "added in version" 1.6 of ansible.builtin" Authors: Augustus Kling (@AugustusKling) preview | supported by communityansible.builtin.locale_gen (v2.4.3.0-1) — module
pip
Install with pip install ansible==2.4.3.0.post1
Manages locales by editing /etc/locale.gen and invoking locale-gen.
# Ensure a locale exists. - locale_gen: name: de_CH.UTF-8 state: present
name: aliases: [] default: null description: - Name and encoding of the locale, such as "en_GB.UTF-8". required: true state: choices: - present - absent default: present description: - Whether the locale shall be present. required: false