buluma.keyboard

Ansible role keyboard

Role for configuring keyboard layout etc.

GitHub Version Issues Pull Requests Downloads
github Version Issues PullRequests Ansible Role

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

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:

dependencies

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

Role History

License

Apache-2.0

Author Information

Shadow Walker

About

Role for configuring keyboard layout etc.

Install
ansible-galaxy install buluma.keyboard
GitHub repository
License
apache-2.0
Downloads
184
Owner
DevOps Engineer