Created
May 17, 2016 14:40
-
-
Save pprince/f847ef22a6ef6527de8abb8ce91b654b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set our_ips = [] %} | |
{% our_ips.extend(salt['network.ip_addrs'](cidr="10.150.0.0/16")) %} | |
{% our_ips.extend(salt['network.ip_addrs'](cidr="172.16.0.0/16")) %} | |
{% set our_ip = (our_ips + [None])[0] %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment