Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% for iface,iface_vals in salt['network.interfaces'] %}
- {% if iface_vals['inet']['address'][0:2] == '10' %}
- {% set itsiface = iface %}
- {% endif %}
- {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement