fabpreso/hosts.py

8 lines
105 B
Python
Raw Normal View History

2013-01-24 18:30:47 -08:00
from fabric.api import env, run
env.hosts = ['web1', 'web2', 'web3']
2013-01-24 19:03:49 -08:00
2013-01-24 18:30:47 -08:00
def hello():
run('hostname')