def upgrade_server():
"""
Upgrade the server as a root user
"""
run('apt-get update && apt-get -y upgrade')
# because ubuntu 16.04 no longer has python2.7
run('sudo apt-get -y install python-simplejson')
run('sudo reboot')
fabfile.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录