{% extends "base.html" %} {% from "_macros.html" import page_header, status_badge, empty_state %} {% block title %}Ansible Runs — Steward{% endblock %} {% block content %} {% call page_header("Ansible Runs", "Each run by what it ran where, newest first.") %} Inventory Schedules Browse Playbooks {% endcall %} {% if not runs %}
{{ empty_state("No runs yet.", "Browse playbooks", "/ansible/browse") }}
{% else %}
{% for row in runs %} {% set run = row.run %} {% endfor %}
Run Status Started Duration
{{ row.title }} {% if row.check %}dry run{% endif %}
{{ run.source_name }}
{{ status_badge(run.status) }} {{ run.started_at|ago }} {{ row.duration_s|duration }}{% if not run.finished_at and run.status.value in ('running', 'queued') %} so far{% endif %}
{% endif %} {% endblock %}