2
我有一个fabfile面料 - 如何让主机名,同时部署
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?
什么想法?结构文档不给我这个
是的,谢谢! – doniyor