mirror of
https://github.com/koodiklinikka/playbooks.git
synced 2026-03-04 22:00:26 +00:00
initial
This commit is contained in:
8
roles/base/tasks/sudo.yml
Normal file
8
roles/base/tasks/sudo.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: setup sudo
|
||||
lineinfile: >
|
||||
dest=/etc/sudoers
|
||||
state=present
|
||||
regexp='^%admin ALL\='
|
||||
line='%admin ALL=(ALL) NOPASSWD:ALL'
|
||||
validate='visudo -cf %s'
|
||||
Reference in New Issue
Block a user