发布机部署报错,这个应该怎么半

2024-12-04 22:51:34
PLAY [all] *********************************************************************
2024-12-04 22:51:34
TASK [Gathering Facts] *********************************************************
2024-12-04 22:51:44 ok: [Win10Vm]
2024-12-04 22:51:44
TASK [Check if CORE_HOST is redirects] *****************************************
2024-12-04 22:51:50 fatal: [Win10Vm]: FAILED! => {“changed”: false, “elapsed”: 2.203128, “msg”: “Unhandled exception occurred when sending web request. Exception: Unable to connect to the remote server”, “status_code”: null, “url”: “http://192.168.1.73”}
2024-12-04 22:51:50
TASK [debug] *******************************************************************
2024-12-04 22:51:50 ok: [Win10Vm] => {
“ansible_failed_result”: {
“changed”: false,
“elapsed”: 2.203128,
“failed”: true,
“invocation”: {
“module_args”: {
“body”: null,
“client_cert”: null,
“client_cert_password”: null,
“content_type”: null,
“creates”: null,
“dest”: null,
“follow_redirects”: “none”,
“force_basic_auth”: false,
“headers”: null,
“http_agent”: “ansible-httpget”,
“maximum_redirection”: 50,
“method”: “GET”,
“proxy_password”: null,
“proxy_url”: null,
“proxy_use_default_credential”: false,
“proxy_username”: null,
“removes”: null,
“return_content”: false,
“status_code”: [
200,
301,
302,
303,
307,
308
],
“url”: “http://192.168.1.73”,
“url_method”: “GET”,
“url_password”: null,
“url_timeout”: 30,
“url_username”: null,
“use_default_credential”: false,
“use_proxy”: true,
“validate_certs”: false
}
},
“msg”: “Unhandled exception occurred when sending web request. Exception: Unable to connect to the remote server”,
“status_code”: null,
“url”: “http://192.168.1.73
}
}
2024-12-04 22:51:50
TASK [fail] ********************************************************************
2024-12-04 22:51:50 fatal: [Win10Vm]: FAILED! => {“changed”: false, “msg”: “Failed to deploy applet host”}
2024-12-04 22:51:50
PLAY RECAP *********************************************************************
Win10Vm : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=2 ignored=0
2024-12-04 22:51:50 Task terminal.tasks.run_applet_host_deployment[049188b2-edab-4ea4-abfd-d93aa053b70b] succeeded in 18.418627738952637s: None

你的 core 地址填的正确吗

是正确的

core是什么地址?需要怎么获取?

core的地址就是堡垒机的访问地址,你是通过ssh还是winrm部署的,ssh的方式部署还需要安装openssh