Skip to content

Instantly share code, notes, and snippets.

@yuvadm
Created March 16, 2011 13:41

Revisions

  1. yuvadm created this gist Mar 16, 2011.
    11 changes: 11 additions & 0 deletions fabfile.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    from fabric.api import *

    env.hosts = ['host.name.com']
    env.user = 'user'
    env.key_filename = '/path/to/keyfile.pem'

    def local_uname():
    local('uname -a')

    def remote_uname():
    run('uname -a')