Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pillar/init.sls
- ...
- {% for ip in pillar.get('server1', {}).items() %}
- - protocol: ipv4
- - address: {{ ip }}
- {% endfor %}
- ...
- pillar/ips.sls
- server1:
- - 192.168.10.1
- - 192.168.10.1
- - 193.168.10.1
- server2:
- - 192.168.10.1
- - 192.168.10.2
- - 192.168.10.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement