22 lines
539 B
YAML
22 lines
539 B
YAML
- name: Install void customizations
|
|
hosts: guest
|
|
become: true
|
|
vars:
|
|
ansible_chroot_exe: arch-chroot
|
|
tasks:
|
|
- name: Set up keyd for custom key events
|
|
community.general.xbps:
|
|
name:
|
|
- keyd
|
|
state: present
|
|
notify: installed-keyd
|
|
|
|
handlers:
|
|
- name: Activate keyd service
|
|
ansible.builtin.file:
|
|
force: 'yes'
|
|
src: "/etc/sv/{{ item }}"
|
|
dest: "/etc/runit/runsvdir/default/{{ item }}"
|
|
state: link
|
|
with_items: [ keyd ]
|
|
listen: installed-keyd
|