feat: playbook执行日志实时流式推送(SSE) + 任务详情显示原始日志

Este commit está contenido en:
Hermes Agent
2026-05-18 15:08:48 +08:00
padre 6a7f74aac5
commit d58e860059
Se han modificado 7 ficheros con 197 adiciones y 44 borrados
+1 -1
Ver fichero
@@ -5,6 +5,6 @@
nas ansible_host=10.168.1.209 ansible_user=root
[zebu_user01]
scmp47 ansible_host=172.16.11.44 ansible_user=root
scmp48 ansible_host=172.16.11.46 ansible_user=root
scmp46 ansible_host=172.16.11.42 ansible_user=root
scmp47 ansible_host=172.16.11.44 ansible_user=root
+30 -30
Ver fichero
@@ -1,34 +1,4 @@
[
{
"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"
},
{
"id": "4d7a1f03",
"name": "scmp48",
"ip": "172.16.11.46",
"port": 22,
"username": "root",
"password": "STC#scmp%0818",
"groups": [
"zebu_user01"
],
"status": "online",
"last_check": "2026-05-13T18:27:19.272543838+08:00",
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "2026-05-13T18:23:27.433461112+08:00"
},
{
"id": "57884720",
"name": "scmp46",
@@ -58,5 +28,35 @@
"last_check": "2026-05-13T18:30:33.343216547+08:00",
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "2026-05-13T18:28:08.656450224+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"
},
{
"id": "4d7a1f03",
"name": "scmp48",
"ip": "172.16.11.46",
"port": 22,
"username": "root",
"password": "STC#scmp%0818",
"groups": [
"zebu_user01"
],
"status": "online",
"last_check": "2026-05-13T18:27:19.272543838+08:00",
"created_at": "0001-01-01T00:00:00Z",
"updated_at": "2026-05-13T18:23:27.433461112+08:00"
}
]