Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 1 | ; inventory.ini, generated from ansible/roles/genconfig/templates/inventory.ini.j2 |
| 2 | ; ** DO NOT EDIT THIS FILE MANUALLY! ** |
| 3 | ; Edit the Pod Config (or Scenario) and rerun `make config` to regenerate it |
| 4 | |
| 5 | {% macro group_template(groupname) %} |
| 6 | {% if inventory_groups[groupname] %} |
| 7 | {% for g_key, g_val in inventory_groups[groupname].iteritems() %} |
| 8 | {{ g_key }}{% if g_val %} {% for key, val in g_val.iteritems() %}{{ key ~ "=" ~ val }}{% endfor %}{% endif %} |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame^] | 9 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 10 | {% endfor %} |
| 11 | {% endif %} |
| 12 | {% endmacro %} |
| 13 | |
| 14 | [config] |
| 15 | {{ group_template('config') }} |
| 16 | |
| 17 | [build] |
| 18 | {{ group_template('build') }} |
| 19 | |
| 20 | [head] |
| 21 | {{ group_template('head') }} |
| 22 | |
| 23 | [compute] |
| 24 | {{ group_template('compute') }} |
| 25 | |