{% extends "base.html" %} {% from "_macros.html" import crumbs %} {% block title %}Host Agent — Steward{% endblock %} {% block breadcrumb %}{{ crumbs([("Host Agents", "/plugins/host_agent/"), ("Settings", "")]) }}{% endblock %} {% block content %}
This is the only time the raw token is shown. Rotate if you lose it.
curl -sSL '{{ install_url }}' | sudo sh
Install (or update) the agent on Ansible inventory hosts in one run — no per-host curl | sh.
A fresh token is minted per host and injected into the run; existing agents are rotated to the new token.
No Ansible inventory targets yet. Add some under Ansible → Browse.
{% else %} {% endif %}| Host | Reported IP | Agent version | Distro | Last seen | Actions |
|---|---|---|---|---|---|
| {{ item.host.name if item.host else item.reg.host_id }} | {{ item.reg.host_ip or "—" }} | {{ item.reg.agent_version or "—" }} | {{ item.reg.distro or "—" }} | {{ item.reg.last_seen_at.strftime("%Y-%m-%d %H:%M:%S") if item.reg.last_seen_at else "never" }} | |
| No hosts registered. Add one above. | |||||