aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/runner/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/runner/project.py')
-rw-r--r--qtip/runner/project.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/qtip/runner/project.py b/qtip/runner/project.py
new file mode 100644
index 00000000..9eadc9db
--- /dev/null
+++ b/qtip/runner/project.py
@@ -0,0 +1,22 @@
+##############################################################################
+# Copyright (c) 2017 ZTE corp. and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+import os
+
+
+def setup():
+ os.system('ansible-playbook setup.yml')
+
+
+def run():
+ os.system('ansible-playbook run.yml')
+
+
+def teardown():
+ os.system('ansible-playbook teardown.yml')