dotfiles/config/automatrop/roles/access/tasks/main.yml

13 lines
333 B
YAML

- name: Enable passwordless sudo access to wheel group
lineinfile:
path: /etc/sudoers
line: "%wheel ALL=(ALL) NOPASSWD: ALL"
regexp: "^#? *%wheel ALL=\\(ALL\\) NOPASSWD: ALL$"
become: yes
- name: Remove Manjaro installer sudoers override
file:
path: /etc/sudoers.d/10-installer
state: absent
become: yes