{% 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
First contact for a host Steward can't yet reach by key. Creates a
steward login account with passwordless sudo, installs the managed
key, then installs the agent — over a one-time bootstrap password (used for this
run only, never stored). After this, use Deploy below for updates.
No managed key yet. Generate one under Settings → Ansible first.
{% elif not (deploy_targets or deploy_groups) %}No Ansible inventory targets yet. Add some under Ansible → Inventory.
{% else %} {% endif %}
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. | |||||