ansible/roles/locale/tasks/main.yaml
2024-09-15 14:12:48 +03:00

9 lines
257 B
YAML

- name: Generate en_US.UTF-8 locale
community.general.locale_gen:
name: en_US.UTF-8
state: present
- name: Set en_US.UTF-8 as default locale
ansible.builtin.command: localectl set-locale LANG=en_US.utf8
when: ansible_env.LANG != "en_US.utf8"