simple hosts example

This commit is contained in:
Stephen McQuay 2013-01-24 18:30:47 -08:00
parent cec73661d9
commit 51bbd51bcb

6
hosts.py Normal file
View File

@ -0,0 +1,6 @@
from fabric.api import env, run
env.hosts = ['web1', 'web2', 'web3']
def hello():
run('hostname')