Type Name Status Ips Source Description/Plan Profile Actions {% for vm in vms %} {% if 'rhel' in vm[3].lower()%} {% set logo = 'Redhat.png' %} {% elif 'cfme' in vm[3].lower() %} {% set logo = 'Centos.png' %} {% elif 'centos' in vm[3].lower() %} {% set logo = 'Centos.png' %} {% elif 'fedora' in vm[3].lower() %} {% set logo = 'Fedora.png' %} {% elif vm[3].startswith('debian') %} {% set logo = 'Debian.png' %} {% elif vm[3].startswith('utopic') %} {% set logo = 'Ubuntu.png' %} {% elif vm[3].startswith('vivid') %} {% set logo = 'Ubuntu.png' %} {% elif vm[3].startswith('wily') %} {% set logo = 'Ubuntu.png' %} {% elif vm[3].startswith('xenial') %} {% set logo = 'Ubuntu.png' %} {% elif vm[3].startswith('yakkety') %} {% set logo = 'Ubuntu.png' %} {% elif vm[3].startswith('zesty') %} {% set logo = 'Ubuntu.png' %} {% elif vm[3].startswith('artful') %} {% set logo = 'Ubuntu.png' %} {% else %} {% set logo = 'Tux.png' %} {% endif %} {% if vm[6] == 'OK' %} {% set report = 'glyphicon glyphicon-ok-circle green' %} {% elif vm[6] == 'Running' %} {% set report = 'glyphicon glyphicon-minus-sign blue' %} {% endif %} {% if vm[6] == 'OK' or vm[6] == 'Running' %} {{ vm[0] }} {% else %} {{ vm[0] }} {% endif %} {{ vm[1] }} {{ vm[2] }} {{ vm[3] }} {{ vm[4] }} {{ vm[5] }} {% endfor %}