Skip to content

Instantly share code, notes, and snippets.

@cournape
Created June 24, 2013 14:34
Show Gist options
  • Save cournape/5850484 to your computer and use it in GitHub Desktop.
Save cournape/5850484 to your computer and use it in GitHub Desktop.
simple fabric file to test all our vm
from fabric.api import run, winrm_run, cd
from fabric.decorators import task
@task
def test_windows():
winrm_run("ipconfig /all")
@task
def test_unix():
run("hostname")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment