Created
February 6, 2015 22:20
-
-
Save eliotk/93f6b49a208b1e7d6999 to your computer and use it in GitHub Desktop.
ansible: iterate through list of values in a jinja template
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 k,v in hostvars[inventory_hostname].iteritems() %} | |
{{ k }}: {{ v }} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment