-
Notifications
You must be signed in to change notification settings - Fork 0
fabric
Nohara Hajime edited this page Jan 6, 2016
·
1 revision
http://www.fabfile.org/
http://fabric-ja.readthedocs.org/ja/latest/index.html
$ vim fabfile.py
add follow code
from fabric.api import run
def host_type():
run('uname -s')
exec fab command
$ fab -H username@xxx.xxx.xxx.xxx host_type
usernameとipaddressは任意のものを