Files
dsk-iac/ansible/01_old/roles/bastion/templates/sudoers_users.j2
2023-12-19 13:36:16 +09:00

7 lines
160 B
Django/Jinja
Executable File

dev2-iac ALL=(ALL) NOPASSWD: ALL
{% if allow_users is defined %}
{% for user in admin_users %}
{{ user.name }} ALL=(ALL) NOPASSWD: ALL
{% endfor %}
{% endif %}