feat(user): Enable sudo for wheel group

This commit is contained in:
Marty Oehme 2025-02-21 15:44:52 +01:00
parent b57c92d458
commit 83e64b6776
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -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 }}"