Make backlight work
This commit is contained in:
@@ -145,7 +145,7 @@ packages:
|
|||||||
black:
|
black:
|
||||||
archlinux: ["python-black"]
|
archlinux: ["python-black"]
|
||||||
xbacklight:
|
xbacklight:
|
||||||
archlinux: ["xorg-xbacklight"]
|
archlinux: ["acpilight"]
|
||||||
wireshark:
|
wireshark:
|
||||||
archlinux: ["wireshark-cli", "wireshark-qt"]
|
archlinux: ["wireshark-cli", "wireshark-qt"]
|
||||||
nmap:
|
nmap:
|
||||||
|
|||||||
15
playbook.yml
15
playbook.yml
@@ -661,6 +661,21 @@
|
|||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- name: backlight configuration
|
||||||
|
tags:
|
||||||
|
- backlight
|
||||||
|
block:
|
||||||
|
# See https://wiki.archlinux.org/title/backlight#ACPI
|
||||||
|
- name: create udev rule to allow video group backlight access
|
||||||
|
copy:
|
||||||
|
dest: /etc/udev/rules.d/backlight.rules
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0644'
|
||||||
|
content: |
|
||||||
|
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video $sys$devpath/brightness", RUN+="/bin/chmod g+w $sys$devpath/brightness"
|
||||||
|
become: true
|
||||||
|
|
||||||
- include_tasks: user.yml
|
- include_tasks: user.yml
|
||||||
args:
|
args:
|
||||||
apply:
|
apply:
|
||||||
|
|||||||
Reference in New Issue
Block a user