ansible-roles/d4s_user_services_perms/templates/tomcat-sudoers.j2

3 lines
143 B
Django/Jinja

{{ d4science_user }} ALL=(ALL) NOPASSWD: {% for cmd in d4science_sudoers_commands %}{{ cmd }}{% if not loop.last %},{% endif %}{% endfor %}