---

- name: "Add user to '{{ evolinux_sudo_group }}' group (Debian 9 or later)"
  ansible.builtin.user:
    name: '{{ user.name }}'
    groups: "{{ evolinux_sudo_group }}"
    append: yes

- name: "Add user to 'adm' group (Debian 9 or later)"
  ansible.builtin.user:
    name: '{{ user.name }}'
    groups: "adm"
    append: yes
