Extracted the basic role from the madonsible playbook
This commit is contained in:
8
tasks/sudo.yml
Normal file
8
tasks/sudo.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: Give sudo group passwordless sudo
|
||||
lineinfile:
|
||||
dest: /etc/sudoers
|
||||
regexp: "^%sudo"
|
||||
line: "%sudo ALL=(ALL) NOPASSWD: ALL"
|
||||
tags: sudo
|
||||
become: true
|
||||
Reference in New Issue
Block a user