{% extends "base.html" %} {% from "_macros.html" import crumbs, empty_state, page_header %} {% block title %}Maintenance — Steward{% endblock %} {% block breadcrumb %}{{ crumbs([("Hosts", "/hosts/"), ("Maintenance", "")]) }}{% endblock %} {% block content %} {# A group's updates and reboots on a weekly cadence, one host at a time (#5768). What needs attention first: a run going now, a run that failed; then the plans with their recent runs. #} {% macro run_hosts(rows) -%}
Each plan updates an inventory group's hosts once a week, one host at a time. A host reboots only when its update needs it, unless the plan says otherwise; a swarm node is drained first and made active again after. The next host starts once the last is back in service. A failure stops the run, and the host's Maintenance failed figure can drive an alert rule.
{% if live %} {% for l in live %}No runs yet.
{% endfor %}Hosts whose agent has no maintenance helper are skipped and listed; run Update agent on them. No host is started once the window has passed.
{% else %}Plans work on inventory groups. Add one under Ansible → Inventory.
{% endif %}