-numerous changes to work with Raspbian 10
-redo of some roles, particularly GUI -modifications to support working from a "Raspbian Lite" install
This commit is contained in:
20
set_sudoer.yml
Executable file → Normal file
20
set_sudoer.yml
Executable file → Normal file
@@ -1,10 +1,10 @@
|
||||
---
|
||||
- hosts: all
|
||||
tasks:
|
||||
- lineinfile:
|
||||
path: /etc/sudoers
|
||||
state: present
|
||||
regexp: '^%sudo'
|
||||
line: '%sudo ALL=(ALL) NOPASSWD: ALL'
|
||||
validate: 'visudo -cf %s'
|
||||
become: true
|
||||
---
|
||||
- hosts: all
|
||||
tasks:
|
||||
- lineinfile:
|
||||
path: /etc/sudoers
|
||||
state: present
|
||||
regexp: '^%sudo'
|
||||
line: '%sudo ALL=(ALL) NOPASSWD: ALL'
|
||||
validate: 'visudo -cf %s'
|
||||
become: true
|
||||
|
||||
Reference in New Issue
Block a user