invoke fabic with python
来源:互联网 发布:跳水 违反 知乎 编辑:程序博客网 时间:2024/06/04 19:59
#!/usr/bin/env python
from fabric.api import env,roles,run,execute,sudo,output,put,cd,reboot
from fabric.contrib.console import confirm
import logging
env.roledefs = {
'server1': ['1.1.1.1'],
'server2': ['2.2.2.2'],
}
@roles('server1')
def deploy_server1():
pass
def deploy_server2():
pass
def deploy():
deploy_server1()
deploy_server2()
if __name__ == "__main__":
0 0
- invoke fabic with python
- go应用发布从python的fabic转到shell的expect
- python invoke C program
- $Using variable with Invoke-Command cmdlet
- Invoke
- Invoke
- invoke
- Invoke
- Invoke()
- python with
- Python with
- python with
- Python With
- python with
- Python With
- python with
- python with
- python~with
- 浅析PHP编程中10个最常见的错误
- hdu3723+Catalan数
- webservice1 tule
- 【iOS】KVO方式监听数组的变化动态刷新tableView
- printf返回值是什么?
- invoke fabic with python
- oracle初始密码
- APUE第4章 文件和目录笔记
- UVA 11255 - Necklace(Ploya)
- Eclipse怎样设置拼写检查
- 1.5.2.2 到稳健结束
- Eclipse add Tomcat server【无法输入server name】
- Gnu arm汇编说明
- POJ 3159 差分约束+迪杰斯特拉+优先队列 图的数据结构用数组表示