groot/templates/sudoers.j2

10 lines
191 B
Plaintext
Raw Permalink Normal View History

2024-11-08 16:14:46 +01:00
# {{ ansible_managed }}
{% for user in groot %}
Defaults:{{ user }} !requiretty
{% for command in item.value -%}
{{ user }} ALL=(ALL:ALL) NOPASSWD: {{ command }}
{% endfor -%}
{% endfor %}