initial commit

This commit is contained in:
Ludovic Cartier
2024-11-08 16:14:46 +01:00
parent 79cc857a46
commit c7849945c3
5 changed files with 97 additions and 0 deletions

9
templates/sudoers.j2 Normal file
View File

@ -0,0 +1,9 @@
# {{ ansible_managed }}
{% for user in groot %}
Defaults:{{ user }} !requiretty
{% for command in item.value -%}
{{ user }} ALL=(ALL:ALL) NOPASSWD: {{ command }}
{% endfor -%}
{% endfor %}