forked from ISTI-ansible-roles/ansible-roles
4 lines
342 B
Django/Jinja
4 lines
342 B
Django/Jinja
%{{ dnet_sudoers_group }} ALL=(ALL) NOPASSWD: {% if tomcat_m_instances is defined %}/etc/init.d/tomcat7, /etc/init.d/tomcat-instance-*{% endif %}{% if dnet_sudo_commands is defined %}{% if tomcat_m_instances is defined %}, {% endif %}{% for cmd in dnet_sudo_commands %}{{ cmd }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}
|
|
|
|
|