-
-
Save anubhavsinha/37198ea0f838537aa45e to your computer and use it in GitHub Desktop.
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.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') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment