Created
June 24, 2013 14:34
-
-
Save cournape/5850484 to your computer and use it in GitHub Desktop.
simple fabric file to test all our vm
This file contains hidden or 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 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