{% extends "base.html" %} {% block title %}Ansible Inventory — Server Monitoring{% endblock %} {% block page_title %}Ansible Inventory{% endblock %} {% block content %}
{{ inventory.raw_yaml | e }}
{{ host.get('ansible_host','') }}
Inventory is empty. Click Sync IPs from DB to import all active devices.
| Hostname | IP | Auth | Remove |
|---|---|---|---|
| {{ host.hostname }} | {{ host.get('ansible_host','—') }} |
{% if host.get('ansible_connection') == 'local' %} local {% elif host.get('ansible_ssh_private_key_file') %} key {% elif host.get('ansible_password') %} pw {% else %} — {% endif %} |
No hosts in this group.
{% endif %}No groups yet. Click New Group to create one.
| Hostname | IP | Type | Status | Action |
|---|---|---|---|---|
| {{ d.hostname }} | {{ d.device_ip }} |
{{ d.device_type or '—' }} | {% if d.status == 'active' %} Active {% elif d.status == 'inactive' %} Inactive {% else %} {{ d.status }} {% endif %} |
All discovered devices are already in the inventory.
No devices discovered yet.