-initial git create
This commit is contained in:
9
set_sudoer.yml
Executable file
9
set_sudoer.yml
Executable file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- hosts: all
|
||||
tasks:
|
||||
- lineinfile:
|
||||
path: /etc/sudoers
|
||||
state: present
|
||||
regexp: '^%sudo'
|
||||
line: '%sudo ALL=(ALL) NOPASSWD: ALL'
|
||||
validate: 'visudo -cf %s'
|
||||
Reference in New Issue
Block a user