diff options
-rw-r--r-- | qtip/cli/commands/cmd_run.py | 3 | ||||
-rw-r--r-- | qtip/cli/commands/cmd_setup.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/qtip/cli/commands/cmd_run.py b/qtip/cli/commands/cmd_run.py index d1b96d4f..56d416ab 100644 --- a/qtip/cli/commands/cmd_run.py +++ b/qtip/cli/commands/cmd_run.py @@ -9,8 +9,9 @@ import click +import os @click.command('run', help='Run performance tests') def cli(): - pass + os.system('ansible-playbook {}/run.yml'.format(os.getcwd())) diff --git a/qtip/cli/commands/cmd_setup.py b/qtip/cli/commands/cmd_setup.py index 586a4a72..ac434561 100644 --- a/qtip/cli/commands/cmd_setup.py +++ b/qtip/cli/commands/cmd_setup.py @@ -9,8 +9,9 @@ import click +import os @click.command('setup', help='Setup QTIP workspace') def cli(): - pass + os.system('ansible-playbook {}/setup.yml'.format(os.getcwd())) |