部署远程应用机报错

2024-07-23 15:35:32
PLAY [all] *********************************************************************
2024-07-23 15:35:32
TASK [Gathering Facts] *********************************************************
2024-07-23 15:35:37 ok: [win2019]
2024-07-23 15:35:37
TASK [Check if CORE_HOST is redirects] *****************************************
2024-07-23 15:35:39 ok: [win2019]
2024-07-23 15:35:39
TASK [fail] ********************************************************************
2024-07-23 15:35:39 skipping: [win2019]
2024-07-23 15:35:39
TASK [Install RDS-RD-Server (RDS)] *********************************************
2024-07-23 15:35:40 ok: [win2019]
2024-07-23 15:35:40
TASK [Stop Tinker before install (jumpserver)] *********************************
2024-07-23 15:35:43 ok: [win2019]
2024-07-23 15:35:43
TASK [Download JumpServer Tinker installer (jumpserver)] ***********************
2024-07-23 15:35:45 fatal: [win2019]: FAILED! => {“changed”: false, “dest”: “C:\Users\Administrator\AppData\Local\Temp\Tinker_Installer.exe”, “elapsed”: 0.0389826, “msg”: “Error downloading ‘http://45.70.208.30/download/applets/Tinker_Installer.exe’ to ‘C:\Users\Administrator\AppData\Local\Temp\Tinker_Installer.exe’: The remote name could not be resolved: ‘static.jumpserver.org’”, “status_code”: null, “url”: “http://45.70.208.30/download/applets/Tinker_Installer.exe”}
2024-07-23 15:35:45
TASK [debug] *******************************************************************
2024-07-23 15:35:45 ok: [win2019] => {
“ansible_failed_result”: {
“changed”: false,
“dest”: “C:\Users\Administrator\AppData\Local\Temp\Tinker_Installer.exe”,
“elapsed”: 0.0389826,
“failed”: true,
“invocation”: {
“module_args”: {
“checksum”: null,
“checksum_algorithm”: “sha1”,
“checksum_url”: null,
“client_cert”: null,
“client_cert_password”: null,
“dest”: “C:\Users\Administrator\AppData\Local\Temp\Tinker_Installer.exe”,
“follow_redirects”: “safe”,
“force”: true,
“force_basic_auth”: false,
“headers”: null,
“http_agent”: “ansible-httpget”,
“maximum_redirection”: 50,
“proxy_password”: null,
“proxy_url”: null,
“proxy_use_default_credential”: false,
“proxy_username”: null,
“url”: “http://45.70.208.30/download/applets/Tinker_Installer.exe”,
“url_method”: null,
“url_password”: null,
“url_timeout”: 30,
“url_username”: null,
“use_default_credential”: false,
“use_proxy”: true,
“validate_certs”: false
}
},
“msg”: “Error downloading ‘http://45.70.208.30/download/applets/Tinker_Installer.exe’ to ‘C:\Users\Administrator\AppData\Local\Temp\Tinker_Installer.exe’: The remote name could not be resolved: ‘static.jumpserver.org’”,
“status_code”: null,
“url”: “http://45.70.208.30/download/applets/Tinker_Installer.exe
}
}
2024-07-23 15:35:45
TASK [fail] ********************************************************************
2024-07-23 15:35:45 fatal: [win2019]: FAILED! => {“changed”: false, “msg”: “Failed to deploy applet host”}
2024-07-23 15:35:45
PLAY RECAP *********************************************************************
win2019 : ok=5 changed=0 unreachable=0 failed=0 skipped=1 rescued=2 ignored=0
2024-07-23 15:35:45 Task terminal.tasks.run_applet_host_deployment[b39aee68-f81f-4936-a1d1-eb3cbee7bd3e] succeeded in 13.048648133000825s: None

离线安装的4.0ce 部署远程应用机报错,可以ssh互访问,求大佬帮帮忙

到发布机上打开这个链接,需要你的发布机能访问到你的jumpserver

http://45.70.208.30/download/applets/Tinker_Installer.exe

这个应该是联网才能用,我是内网部署的

你需要让发布机和jumpserver服务器能互相访问

我的是纯内网使用,也有这个问题,不过里面的IP地址是我的内网IP 。后来把jumpserver 和发布机都弄成外网的后一切正常。发布机还要下载好多别的东西,纯内网很麻烦。

问一下,你的jumpsverver 安装的网络拓扑是什么样 ?
我这儿有内网与外网,中间加的有安全设备,还在纠结怎么部署。

外网->(内网:jumpserver->发布机)
jumpserver和发布机在内网互通就可以了