11 lines
229 B
YAML
11 lines
229 B
YAML
|
---
|
||
|
# file: roles/base/tasks/core_sudo.yml
|
||
|
|
||
|
- name: Enabled passwordless sudo
|
||
|
lineinfile:
|
||
|
path: /etc/sudoers
|
||
|
state: present
|
||
|
regexp: '^%wheel'
|
||
|
line: '%wheel ALL=(ALL) NOPASSWD: ALL'
|
||
|
validate: 'visudo -cf %s'
|