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

16 lines
341 B
YAML

- import_tasks: supergfxctl-build.yml
when: ansible_distribution == "Ubuntu"
- name: install supergfxctl
shell:
cmd:
yay -S --needed --noconfirm supergfxctl
when: ansible_distribution == "Archlinux"
- name: Enable supergfxctl
become: yes
ansible.builtin.systemd:
name: supergfxd
state: started
enabled: yes