You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
498 B
28 lines
498 B
3 years ago
|
---
|
||
|
- name: Update locale selection.
|
||
|
lineinfile:
|
||
|
path: /etc/locale.gen
|
||
|
line: "{{ item }}"
|
||
|
with_items:
|
||
|
- en_US.UTF-8 UTF-8
|
||
|
|
||
|
- name: Generate locales.
|
||
|
command: locale-gen
|
||
|
changed_when: true
|
||
|
|
||
|
- name: Update locale config.
|
||
|
copy:
|
||
|
dest: /etc/locale.conf
|
||
|
content: LANG=en_US.UTF-8
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0644
|
||
|
|
||
|
- name: Update keyboard layout config.
|
||
|
copy:
|
||
|
dest: /etc/vconsole.conf
|
||
|
content: KEYMAP=us
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0644
|