Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 189 Bytes
from fabric.api import local, run, env, hosts
#env.hosts = ['localhost']
@hosts('192.168.1.219')
def uname():
#local('ifconfig')
run('uname -a')
@hosts('localhost')
def w():
run('w')