Skip to content

Instantly share code, notes, and snippets.

@lukeorland
Created December 4, 2014 04:41
Show Gist options
  • Save lukeorland/c024f214e43d519c30ab to your computer and use it in GitHub Desktop.
Save lukeorland/c024f214e43d519c30ab to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import time
from fabric.api import *
def two_secs():
t = time.time()
time.sleep(2)
return t
def main():
env.hosts = ['localhost', 'itchorystem']
env.parallel = True
env.use_ssh_config = True
print execute(two_secs)
print execute(two_secs)
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment