diff --git a/void_user.yaml b/void_user.yaml index 4c67bd5..0fdf954 100644 --- a/void_user.yaml +++ b/void_user.yaml @@ -21,6 +21,12 @@ - video tasks: + - name: Enable sudo for "wheel" group + ansible.builtin.lineinfile: + path: "/etc/sudoers" + regexp: '^# %wheel ALL=(ALL) ALL$' + line: '%wheel ALL=(ALL) ALL' + - name: Add user ansible.builtin.user: name: "{{ user_name }}"