Created
June 3, 2014 13:49
-
-
Save echeipesh/2f432a917adcd00f44fa to your computer and use it in GitHub Desktop.
Ansible template over all host variables in a group
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
{% for host in groups['master'] %} | |
{{ hostvars[host]['private_ip'] }} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment