feat: 1) ListGroups返回组内主机详细信息 2) 前端刷新间隔改为5分钟 3) 命令执行和Playbook页面主机组支持展开显示组内主机
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"all": {
|
||||
"name": "all",
|
||||
"description": "所有主机",
|
||||
"hosts": null
|
||||
},
|
||||
"ungrouped": {
|
||||
"name": "ungrouped",
|
||||
"description": "未分组主机",
|
||||
"hosts": null
|
||||
},
|
||||
"zebu_user01": {
|
||||
"name": "zebu_user01",
|
||||
"description": "",
|
||||
"hosts": null
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
# Ansible Inventory File
|
||||
# Generated by ansible-deploy
|
||||
|
||||
[ungrouped]
|
||||
scmp47 ansible_host=172.16.11.44 ansible_user=root
|
||||
|
||||
[all]
|
||||
nas ansible_host=10.168.1.209 ansible_user=root
|
||||
|
||||
[zebu_user01]
|
||||
scmp46 ansible_host=172.16.11.42 ansible_user=root
|
||||
@@ -0,0 +1,44 @@
|
||||
[
|
||||
{
|
||||
"id": "c3e976cb",
|
||||
"name": "scmp46",
|
||||
"ip": "172.16.11.42",
|
||||
"port": 22,
|
||||
"username": "root",
|
||||
"password": "STC#scmp%0818",
|
||||
"groups": [
|
||||
"zebu_user01"
|
||||
],
|
||||
"status": "online",
|
||||
"last_check": "2026-05-13T17:43:47.863884597+08:00",
|
||||
"created_at": "2026-05-13T16:19:53.979745105+08:00",
|
||||
"updated_at": "2026-05-13T16:19:53.979745185+08:00"
|
||||
},
|
||||
{
|
||||
"id": "5ef41aa3",
|
||||
"name": "scmp47",
|
||||
"ip": "172.16.11.44",
|
||||
"port": 22,
|
||||
"username": "root",
|
||||
"groups": [],
|
||||
"status": "pending",
|
||||
"last_check": "0001-01-01T00:00:00Z",
|
||||
"created_at": "0001-01-01T00:00:00Z",
|
||||
"updated_at": "2026-05-13T17:40:47.833904109+08:00"
|
||||
},
|
||||
{
|
||||
"id": "706f8ce7",
|
||||
"name": "nas",
|
||||
"ip": "10.168.1.209",
|
||||
"port": 22,
|
||||
"username": "root",
|
||||
"password": "WXJwxj91612!!",
|
||||
"groups": [
|
||||
"all"
|
||||
],
|
||||
"status": "online",
|
||||
"last_check": "2026-05-13T17:34:10.808052527+08:00",
|
||||
"created_at": "2026-05-13T16:03:45.265250935+08:00",
|
||||
"updated_at": "2026-05-13T16:03:45.265251013+08:00"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user