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

3 lines
143 B
Django/Jinja

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