{% for item in shardtool | sort(attribute='order') %} {% set shard_name=item.key %} {% set shard=item.value %} {% if shard_name %} {% for host_name in shard.hosts %} {% set host = shard.hosts[host_name] %} {% set first = loop.first %} {% for instance in host.instances %} {% if first and loop.first %} {% endif %} {% set status = host.instances[instance].status %} {% endfor %} {% endfor %} {% endif %} {% endfor %}
shard instance status
{{ shard_name }} {{ instance }} {{ host.instances[instance].status_text }}