Reorganized automatrop hosts

This commit is contained in:
Geoffrey Frogeye 2021-06-13 14:46:01 +02:00
parent 4919fbea0e
commit 2cbf555a9d
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
9 changed files with 69 additions and 6 deletions

View file

@ -0,0 +1,12 @@
- 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