This commit is contained in:
sm
2013-01-24 19:03:49 -08:00
parent 3beaa660d7
commit afa0a2899e
6 changed files with 7 additions and 0 deletions
+2
View File
@@ -1,8 +1,10 @@
from fabric.api import env, run
env.roledefs = {
'web': ['web1', 'web2', 'web3'],
'db': ['db1', 'db2']
}
def hello():
run('hostname')