{% for mod_name in mods_list %}
insmod {{ mod_name | e }}
{% endfor %}