mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-03-13 16:20:19 +00:00
14 lines
290 B
YAML
14 lines
290 B
YAML
# This creates our users on the system
|
|
---
|
|
#- group:
|
|
# name: sudo
|
|
# state: present
|
|
|
|
- name: Allow 'sudo' group to have passwordless sudo
|
|
lineinfile:
|
|
dest: /etc/sudoers
|
|
state: present
|
|
regexp: '^%sudo'
|
|
line: '%sudo ALL=(ALL) NOPASSWD: ALL'
|
|
validate: visudo -cf %s
|