def set_fabric_common_env():
"""
??????????fabric env
"""
env.user = 'astd'
env.use_ssh_config = True # This is important when running under root.
env.connection_attempts = 5
env.disable_known_hosts = True
env.keepalive = 60
评论列表
文章目录