ansible/ansible#40555
This becamevlan_parser
Ansible filter for declaratively defining vlan trunks
Example Jinja usage
{% set parsed_vlans = item.vlans | vlan_parser %}
switchport trunk allowed vlan {{ parsed_vlans[0] }}
{% for i in range (1, parsed_vlans | count) %}
switchport trunk allowed vlan add {{ parsed_vlans[i] }}