You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
621 B
YAML
25 lines
621 B
YAML
---
|
|
- name: install keyboard configuration
|
|
ansible.builtin.apt:
|
|
update_cache: yes
|
|
name: keyboard-configuration
|
|
state: present
|
|
|
|
- name: Set keyboard model
|
|
ansible.builtin.lineinfile:
|
|
path: /etc/default/keyboard
|
|
regexp: 'XKBMODEL'
|
|
line: 'XKBMODEL="{{ debian_xkb_model }}"'
|
|
|
|
- name: Set keyboard layout
|
|
ansible.builtin.lineinfile:
|
|
path: /etc/default/keyboard
|
|
regexp: 'XKBMODEL'
|
|
line: 'XKBMODEL="{{ debian_xkb_layout }}"'
|
|
|
|
- name: Set keyboard switch
|
|
ansible.builtin.lineinfile:
|
|
path: /etc/default/keyboard
|
|
regexp: 'XKBMODEL'
|
|
line: 'XKBMODEL="{{ debian_xkb_switch }}"'
|