Skip to content

Instantly share code, notes, and snippets.

@VertigoRay
Created August 23, 2013 00:40
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 VertigoRay/6314383 to your computer and use it in GitHub Desktop.
Save VertigoRay/6314383 to your computer and use it in GitHub Desktop.
List of test computers
{% for computer in 'TEST001','TEST002','TEST003' %}
{% if grains['nodename'] == computer %}
is_test_computer: True
{% else %}
is_test_computer: False
{% endif %}
{% else %}
is_test_computer: False
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment