Inital
This commit is contained in:
11
templates/sudoers.j2
Normal file
11
templates/sudoers.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
root ALL=(ALL) ALL
|
||||
|
||||
%sudo ALL=(ALL) NOPASSWD: ALL
|
||||
|
||||
{% for user in managed_users %}
|
||||
{% if user.sudoer %}
|
||||
{{ user.name }} ALL=(ALL) NOPASSWD: ALL
|
||||
{% endif %}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user