Enable usbhid
This commit is contained in:
parent
836ed26588
commit
e6042b2da3
1 changed files with 16 additions and 0 deletions
|
@ -18,3 +18,19 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: xorg-acp.conf
|
src: xorg-acp.conf
|
||||||
dest: /usr/local/etc/X11/xorg.conf.d/xorg-acp.conf
|
dest: /usr/local/etc/X11/xorg.conf.d/xorg-acp.conf
|
||||||
|
- name: Enable usbhid module (1/2)
|
||||||
|
become: true
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /boot/loader.conf.d/usbhid.conf
|
||||||
|
regexp: '^hw\.usb\.usbhid\.enable=.*'
|
||||||
|
line: 'hw.usb.usbhid.enable=1'
|
||||||
|
create: yes
|
||||||
|
when: gui == true
|
||||||
|
- name: Enable usbhid module (2/2)
|
||||||
|
become: true
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /boot/loader.conf.d/usbhid.conf
|
||||||
|
regexp: '^usbhid_load=.*'
|
||||||
|
line: 'usbhid_load=YES'
|
||||||
|
create: yes
|
||||||
|
when: gui == true
|
||||||
|
|
Loading…
Reference in a new issue