buluma.keyboard
Ansible role keyboard
Role for configuring keyboard layout etc.
| GitHub | Version | Issues | Pull Requests | Downloads |
|---|---|---|---|---|
Example Playbook
This example is taken from molecule/default/converge.yml and is tested on each push, pull request and release.
---
- name: Converge
hosts: all
pre_tasks:
- name: update apt cache
ansible.builtin.apt:
update_cache: yes
changed_when: no
roles:
- role: buluma.keyboard
keyboard_model: pc105
keyboard_layout: brai
keyboard_variant: right_hand
keyboard_options: 'lv3:alt_switch,compose:rctrl'
keyboard_backspace: guess
Also see a full explanation and example on how to use these roles.
Role Variables
The default values for the variables are set in defaults/main.yml:
---
# The XKB keyboard model name.
keyboard_model: pc104
# The XKB keyboard layout name.
keyboard_layout: us
# The XKB keyboard variant components.
keyboard_variant: ''
# The XKB keyboard option components.
keyboard_options: ''
# The behavior of <BackSpace> and <Delete> keys.
keyboard_backspace: guess
Requirements
- pip packages listed in requirements.txt.
Context
This role is a part of many compatible roles. Have a look at the documentation of these roles for further information.
Here is an overview of related roles:

Compatibility
This role has been tested on these container images:
| container | tags |
|---|---|
| Ubuntu | bionic, focal |
| Debian | all |
The minimum version of Ansible required is 2.1, tests have been done to:
- The previous version.
- The current version.
- The development version.
If you find issues, please register them in GitHub
Changelog
License
Author Information
Install
ansible-galaxy install buluma.keyboardLicense
apache-2.0
Downloads
184
Owner
DevOps Engineer
