ansible-desktop/roles/laptop/tasks/supergfxctl.yml

16 lines
341 B
YAML
Raw Normal View History

2023-08-26 23:57:26 +02:00
- import_tasks: supergfxctl-build.yml
when: ansible_distribution == "Ubuntu"
2023-04-24 04:04:17 +02:00
- name: install supergfxctl
2023-08-26 23:57:26 +02:00
shell:
cmd:
yay -S --needed --noconfirm supergfxctl
when: ansible_distribution == "Archlinux"
2023-09-22 19:57:57 +02:00
- name: Enable supergfxctl
become: yes
ansible.builtin.systemd:
2023-10-24 00:19:45 +02:00
name: supergfxd
2023-09-22 19:57:57 +02:00
state: started
enabled: yes