- 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