{% for package_name, package_data in packages %}
{{ package_name }} |
{% if package_data.manifest %}
|
Key |
Excl. tags |
Shard |
Default shard |
Tag shards |
| Manifest
| {{ package_data.manifest }} |
- |
- |
- |
- |
{% endif %}
{% if package_data.sub_manifests %}
| Sub manifest |
Key |
Excl. tags |
Shard |
Default shard |
Tag shards |
{% for sub_manifest, key, excluded_tags, shard_repr, default_shard_repr, tag_shards, included in package_data.sub_manifests %}
|
{% if perms.monolith.view_submanifest %}
{{ sub_manifest }}
{% else %}
{{ sub_manifest }}
{% endif %}
|
{{ key }} |
{% for tag in excluded_tags %}
{% inventory_tag tag %}
{% empty %}
-
{% endfor %}
|
{{ shard_repr|default:"-" }} |
{{ default_shard_repr|default:"-" }} |
{% if tag_shards %}
{% for tag, shard in tag_shards %}
| {% inventory_tag tag %} | {{ shard }} |
{% endfor %}
{% else %}
-
{% endif %}
|
{% endfor %}
{% endif %}
{% if package_data.pkgsinfo %}
| Version |
Status |
Excl. tags |
Shard |
Default shard |
Tag shards |
{% for pkginfo, status, excluded_tags, shard_repr, default_shard_repr, tag_shards, included in package_data.pkgsinfo %}
|
{{ pkginfo.version }}
|
{% if status == "installed" %}installed{% endif %}
{% if status == "reinstalled" %}reinstalled{% endif %}
{% if status == "failed" %}failed{% endif %}
{% if not status %}-{% endif %}
|
{% for tag in excluded_tags %}
{% inventory_tag tag %}
{% empty %}
-
{% endfor %}
|
{{ shard_repr|default:"-" }} |
{{ default_shard_repr|default:"-" }} |
{% if tag_shards %}
{% for tag, shard in tag_shards %}
| {% inventory_tag tag %} | {{ shard }} |
{% endfor %}
{% else %}
-
{% endif %}
|
{% endfor %}
{% endif %}
{% endfor %}