ansible-role-cmdb/templates/hypervisor.txt.j2

6 lines
140 B
Django/Jinja

====== Hypervisor ======
{% for host in groups['virt_kvm_host'] | sort %}
* [[{{ cmdb_namespace }}:servers:all:{{ host }}]]
{% endfor %}