31 lines
667 B
YAML
31 lines
667 B
YAML
---
|
|
- name: Set keymap
|
|
ansible.builtin.copy:
|
|
content: "KEYMAP={{ arch_base_keymap }}\n"
|
|
dest: /etc/vconsole.conf
|
|
mode: 0644
|
|
notify: Update keymap
|
|
become: true
|
|
|
|
- name: Generate locales
|
|
community.general.locale_gen:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items: "{{ arch_base_locales }}"
|
|
become: true
|
|
|
|
- name: Set locale
|
|
ansible.builtin.lineinfile:
|
|
dest: /etc/locale.conf
|
|
line: "LANG={{ arch_base_locale }}"
|
|
regexp: "^LANG="
|
|
create: true
|
|
mode: 0644
|
|
become: true
|
|
|
|
- name: Set timezone
|
|
become: true
|
|
ansible.builtin.command: timedatectl set-timezone {{ arch_base_timezone }}
|
|
args:
|
|
creates: /etc/localtime
|