{% block content %} ====== Hostinfo ====== {% for host in hosts|sort(attribute='hostname') %} {% set os = host['os'] | get_os_name %} * {{ '{{' }} {%- if os is not none %} {{- host['os'] | get_os_name}}.png {%- else %} unknown.png {%- endif %}?20x20 {{- '}}' }} {{ host['hostname'] | replace(".spline.inf.fu-berlin.de","")}} {% if host['description'] is defined %} * **description:**{{host['description'] | replace("\n"," ")}} {% else %} * no description yet {% endif %} * **adresses:** {% for ip in host['addresses'] | select_with_attribute('vserver', False) | sort(attribute='address') %} * {{ip['address']}} {% endfor %} {% endfor %} {% endblock %}