Use FOR-IF Construct in Jinja2 Loops - ipSpace.net
www.ipspace.net › kb › AnsibleUse FOR-IF Construct in Jinja2 Loops. A networking engineer attending the Building Network Automation Solutions online course sent me a solution that included a pretty common (but somewhat suboptimal) way of iterating through a data structure that contains some elements you're not interested in. Let's assume we have collected ARP entries from a ...