pddg.xkeysnail
ansible-role-xkeysnail
This guide explains how to set up xkeysnail and configure it to start automatically with GNOME.
Requirements
You need to have sudo
access.
Python3 is also required, and xkeysnail will be installed using pip
(you will need python3-pip
).
Role Variables
xkeysnail_config_dir
- This is where the configuration files will be stored.
- The default location is
/etc/opt/xkeysnail
. - The directory must be accessible by other users (avoid using
~/.config/xxxx
).
xkeysnail_config_file
- This variable specifies the configuration file written in Python.
- The default file is
config.py
located in thefiles
directory. - Do not include a
/
at the end of the path.
Dependencies
There are no additional requirements.
Example Playbook
This role is intended for local use. Remember that the executing user's name is added to /etc/sudoers.d/10-install
.
- hosts: localhost
roles:
- name: pddg.xkeysnail
vars:
xkeysnail_config_dir: /etc/opt/xkeysnail
xkeysnail_config_file: /path/to/config.py
When running the playbook, use the -K
option because this role requires sudo
.
$ ansible-playbook hoge.yml -K
License
MIT
Author Information
- Author: pddg
- Website: https://www.poyo.info
- Organization: Studio Aquatan
Installa
ansible-galaxy install pddg.xkeysnail
Licenza
Unknown
Download
94
Proprietario
Software Engineer