{% extends "base.html" %} {% block title %}Patch All #{{ queue.id }}{% endblock %} {% block head %}{% if queue.is_running %}{% endif %}{% endblock %} {% block heading %}Patch All #{{ queue.id }}{% endblock %} {% block header_actions %}
Analysis #{{ queue.analysis_run_id }} History
{% endblock %} {% block content %}

{% if queue.is_running %}Patching servers one at a time{% elif queue.state == "COMPLETED" %}PATCH ALL COMPLETED{% else %}PATCH ALL STOPPED{% endif %}

{{ queue.state }}
Started
{{ queue.created_at|timestamp }}
{% if queue.finished_at %}
Finished
{{ queue.finished_at|timestamp }}
{% endif %}
Reboot
{% if queue.skip_reboot %}Skipped (Skip reboot was checked){% else %}If /run/reboot-required exists after patching{% endif %}
{% if queue.stop_reason %}
Stopped Because
{{ queue.stop_reason }}
{% endif %}
{% if queue.is_running %}

Patching… (this page refreshes automatically)

{% endif %} {% set not_run = queue.items|selectattr("status", "equalto", "NOT_RUN")|list %} {% if not_run %}
Not run ({{ not_run|length }}): {{ not_run|map(attribute="server_name")|join(", ") }}
{% endif %}

Servers

{% for item in queue.items %} {% set ex = executions.get(item.execution_id) %} {% endfor %}
#ServerStatusPatchRebootDetail
{{ loop.index }} {{ item.server_name }}{% if item.display_name %}
{{ item.display_name }}
{% endif %}
{{ item.status }} {% if ex %}{{ patch_labels.get(ex.state, ex.state) }}{% else %}-{% endif %} {% if ex and ex.reboot_status %}{{ reboot_labels.get(ex.reboot_status, ex.reboot_status) }}{% else %}-{% endif %} {{ item.detail or "" }} {% if item.execution_id %}Details{% endif %}
{% endblock %}