Created
December 4, 2014 04:41
-
-
Save lukeorland/c024f214e43d519c30ab to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/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