2024-05-13 12:09:08 发布
网友
我有个假文件
env.hosts = [ # huge list, 80 hostnames ] def dm(): with cd('/home/project/application'): # how to get the actual hostname here, so I can run certain commands depending on hostname?
有什么想法吗?fabric文档对此一无所知
您可以使用^{}访问主机名。在
您可以使用^{} 访问主机名。在
相关问题 更多 >
编程相关推荐