Skip to content

Instantly share code, notes, and snippets.

@andrewwatts
Created December 3, 2010 21:05
Show Gist options
  • Save andrewwatts/727555 to your computer and use it in GitHub Desktop.
Save andrewwatts/727555 to your computer and use it in GitHub Desktop.
simple fabfile to testing goosemo's multiprocessing fabric branch
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