Created
December 3, 2010 21:05
-
-
Save andrewwatts/727555 to your computer and use it in GitHub Desktop.
simple fabfile to testing goosemo's multiprocessing fabric branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fabric.api import * | |
env.roledefs['servers'] = [ | |
'ec2-184-72-2-243.us-west-1.compute.amazonaws.com', | |
'ec2-204-236-153-163.us-west-1.compute.amazonaws.com', | |
] | |
@roles('servers') | |
def poke(): | |
local("whoami") | |
run("uptime") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment