---
- name: Add plugdev group
  group:
      name: plugdev
      state: present

- name: Add {{ user.name }} to plugdev group
  user:
      name: "{{ user.name }}"
      groups: plugdev
      append: yes
  tags:
    - user

- name: Install Solaar
  pacman:
      name: solaar
      state: present
