{% extends "base.html" %} {% load datetime_formatting %} {% load truncatepath %} {% load static_url %} {% block title %}| Playbooks{% if not static_generation %}: {{ current_page_results }} of {{ data.count }}{% endif %}{% endblock %} {% block body %} {% if not static_generation %}
Report | Status | CLI | Date {% include "partials/sort_by_date.html" with arg="started" %} | {% include "partials/sort_by_duration.html" %} | Name (or path) | Ansible | Controller | User | Hosts | Tasks | Results | Labels |
---|---|---|---|---|---|---|---|---|---|---|---|---|
{% url 'ui:playbook' playbook.id as playbook_url %} | {% include "partials/playbook_status_icon.html" with status=playbook.status %} | {{ playbook.started | format_date }} | {{ playbook.duration | format_duration }} | {% if not static_generation %} {% if playbook.name is not None %} {{ playbook.name | truncatechars:50 }} {% else %} {{ playbook.path | truncatepath:50 }} {% endif %} {% else %} {% if playbook.name is not None %} {{ playbook.name | truncatechars:50 }} {% else %} {{ playbook.path | truncatepath:50 }} {% endif %} {% endif %} | {% if not static_generation %} {{ playbook.ansible_version }} {% else %} {{ playbook.ansible_version }} {% endif %} | {% if not static_generation %} {{ playbook.controller | default_if_none:'' }} {% else %} {{ playbook.controller | default_if_none:'' }} {% endif %} | {% if not static_generation %} {{ playbook.user | default_if_none:'' }} {% else %} {{ playbook.user | default_if_none:'' }} {% endif %} | {% if not static_generation %} {{ playbook.items.hosts }} {% else %} {{ playbook.items.hosts }} {% endif %} | {% if not static_generation %} {{ playbook.items.tasks }} {% else %} {{ playbook.items.tasks }} {% endif %} | {{ playbook.items.results }} | {% for label in playbook.labels %} {% if not static_generation %} {{ label.name }} {% else %} {{ label.name }} {% endif %} {% endfor %} |