Advertisement
Guest User

pillar

a guest
Aug 4th, 2015
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. vars:
  2. {% for loc in pillar.get('loc', {}).items() %}
  3.  {% if loc == 'GDY' %}:
  4.   - dns1: 10.0.0.3
  5.   - dns2: 10.0.0.4
  6.  {% else %}
  7.   - dns1: 10.0.0.99
  8.  {% endif %}
  9. {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement