# Pastebin InTCvipB {% for host, ips in salt['publish.publish']('roles:application', 'network.ip_addrs', 'eth0', 'grain').iteritems() %} server webapp{{loop.index}} {{ips[0]}}:81 check {% endfor %}