Needs something like this {% if 'loop' not in interface.interface %} no switchport {% endif %}
Needs something like this
{% if 'loop' not in interface.interface %}
no switchport
{% endif %}