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

13 lines
333 B
YAML
Raw Normal View History

2021-06-13 12:46:01 +00:00
- 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