# # Interfaces which are OK to be down in OSPF (Salt managed) # {%- set interfaces = salt['pillar.get']('nodes:' ~ grains['id'] ~ ':ifaces', {}) %} {%- for iface, config in interfaces.items ()|sort %} {%- if config.get ('_state', '') == 'planned' %} {{ iface }} {%- endif %} {%- endfor %}