Skip to content

Instantly share code, notes, and snippets.

@gravyboat
Last active December 28, 2015 03:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gravyboat/7435127 to your computer and use it in GitHub Desktop.
Save gravyboat/7435127 to your computer and use it in GitHub Desktop.
iterating.
{% for ab, ba in pillar['groups'].iteritems() %}
{% for i in ba %}
{{ i }}:
group:
- present
{% endfor %}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment