6 lines
161 B
Plaintext
6 lines
161 B
Plaintext
|
{% if user.sudoers is defined %}
|
||
|
{{ user.sudoers }}
|
||
|
{% else %}
|
||
|
{{ user.username }} ALL=(ALL) {% if user.sudo == 'nopasswd' %}NOPASSWD:{% endif %}ALL
|
||
|
{% endif %}
|