diff --git a/roles/debian/files/keyboard b/roles/debian/files/keyboard new file mode 100644 index 0000000..6ab34f9 --- /dev/null +++ b/roles/debian/files/keyboard @@ -0,0 +1,9 @@ +# KEYBOARD CONFIGURATION FILE + +# Consult the keyboard(5) manual page. + +XKBMODEL="pc105" +XKBLAYOUT="us,us" +XKBVARIANT="typo,intl" +XKBOPTIONS="lv3:ralt_switch,compose:menu,grp:win_space_toggle" +BACKSPACE="guess" diff --git a/roles/debian/tasks/keyboard.yml b/roles/debian/tasks/keyboard.yml new file mode 100644 index 0000000..28d80d7 --- /dev/null +++ b/roles/debian/tasks/keyboard.yml @@ -0,0 +1,6 @@ +--- +- name: set keyboard layout + become: true + copy: + src: keyboard + dest: /etc/default/keyboard diff --git a/roles/debian/tasks/main.yml b/roles/debian/tasks/main.yml index e18e082..7a69d1e 100644 --- a/roles/debian/tasks/main.yml +++ b/roles/debian/tasks/main.yml @@ -3,6 +3,7 @@ - include: packages-gui.yml when: gui == true - include: build-env.yml +- include: keyboard.yml - include: modules.yml - include: ssh.yml - include: solokeys.yml