【FATE联邦学习】AnsibleFATE离线部署出现AnsibleUndefinedVariable: ‘ansible_ssh_host‘ is undefined.

本人已经提issuehttps://github.com/FederatedAI/FATE/issues/5059.

根据群友 钟紫英 的方法,
在这里插入图片描述修改project_path/enviroments/prod/hosts中的[fate]组:

render后原文:

# 前面省略
ansible_become_method=sudo
ansible_become_user=root
ansible_become_pass=
[deploy_check]
[fate]
192.168.1.177 
192.168.1.183
192.168.1.182

手动加入 ansible ssh host变量,根据情况是否添加ansible_connection=local
具体改成

ansible_become_method=sudo
ansible_become_user=root
ansible_become_pass=
[deploy_check]
[fate]
192.168.1.177 ansible_ssh_host=192.168.1.177
192.168.1.183 ansible_ssh_host=192.168.1.183
192.168.1.182 ansible_ssh_host=192.168.1.182

是不是官方要检查下bash ./deploy/deploy.sh render是否漏了什么?或者是教程有问题,要再加点东西?

posted @   ZephyrYin  阅读(113)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· winform 绘制太阳,地球,月球 运作规律
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
点击右上角即可分享
微信分享提示