Last active
February 3, 2016 23:15
-
-
Save dlam26/b14da005556095490e26 to your computer and use it in GitHub Desktop.
how do i collect all the "app" ips in this pillar list to make a comma-separated string like... 172.31.23.64,1.2.3.4,etc.
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
hosts: # production | |
app: | |
- name: app | |
ip: 172.31.23.64 | |
full_host: foo-bar-baz@saltstack.com | |
- name: fakeapp | |
ip: 1.2.3.4 | |
full_host: here-just-to-test-salt-template-iteration@foo.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
probably something like (not tested, tho):