Skip to content

Instantly share code, notes, and snippets.

@yeukhon
Created March 7, 2013 17:02
Show Gist options
  • Select an option

  • Save yeukhon/5109717 to your computer and use it in GitHub Desktop.

Select an option

Save yeukhon/5109717 to your computer and use it in GitHub Desktop.
# template
{% for hosts in groups['live-condor-m'] %}
{{ hosts }} {{ condor_name }}
{% endfor %}
# inventory
[live-condor-m]
10.10.0.56 condor_name=master0
10.10.0.63 condor_name=master1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment