Only install brightnessctl on mobile platform and include udev rules
This commit is contained in:
parent
e1d1f02f36
commit
02af95a6fe
1 changed files with 18 additions and 1 deletions
|
@ -18,7 +18,6 @@
|
||||||
- wireplumber
|
- wireplumber
|
||||||
- qpwgraph
|
- qpwgraph
|
||||||
- alsa-utils
|
- alsa-utils
|
||||||
- brightnessctl
|
|
||||||
- gnome-keyring
|
- gnome-keyring
|
||||||
- adwaita-icon-theme
|
- adwaita-icon-theme
|
||||||
- fonts-firacode
|
- fonts-firacode
|
||||||
|
@ -31,6 +30,24 @@
|
||||||
- grim
|
- grim
|
||||||
- swappy
|
- swappy
|
||||||
|
|
||||||
|
- name: Install tools for mobile platform
|
||||||
|
become: yes
|
||||||
|
apt:
|
||||||
|
state: present
|
||||||
|
name:
|
||||||
|
- brightnessctl
|
||||||
|
when: hostvars[ansible_hostname]['mobile_platform']
|
||||||
|
|
||||||
|
- name: Install brightnessctl udev rules
|
||||||
|
become: yes
|
||||||
|
ansible.builtin.get_url:
|
||||||
|
url: https://github.com/Hummer12007/brightnessctl/raw/refs/heads/master/90-brightnessctl.rules
|
||||||
|
dest: /etc/udev/rules.d/90-brightnessctl.rules
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: u=rw,g=r,o=r
|
||||||
|
when: hostvars[ansible_hostname]['mobile_platform']
|
||||||
|
|
||||||
- name: Install zsh
|
- name: Install zsh
|
||||||
become: yes
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue