mirror of
https://github.com/jerikan-network/cmdb.git
synced 2024-05-06 04:54:50 +00:00
No history. If you have the original history, you can use: ``` git replace THISCOMMIT b0b998bd1c651e308ac71a9158e07e5c3521a281 ```
9 lines
301 B
Django/Jinja
9 lines
301 B
Django/Jinja
{# Arbitrary data in YAML format #}
|
|
{% if groups is defined and os is defined %}
|
|
{% for group in groups %}
|
|
{% include ["{}/{}/data.j2".format(os, group),
|
|
"{}/data-{}.j2".format(os, group)] ignore missing %}
|
|
{% endfor %}
|
|
{% include "{}/data.j2".format(os) ignore missing %}
|
|
{% endif %}
|