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

16 lines
343 B
YAML
Raw Normal View History

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