Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vars:
- {% for loc in pillar.get('loc', {}).items() %}
- {% if loc == 'GDY' %}:
- - dns1: 10.0.0.3
- - dns2: 10.0.0.4
- {% else %}
- - dns1: 10.0.0.99
- {% endif %}
- {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement