Prompt for variables required for creating workspace 31/33731/2
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Tue, 25 Apr 2017 01:47:40 +0000 (09:47 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Tue, 25 Apr 2017 01:54:17 +0000 (09:54 +0800)
Change-Id: I9fa48ebcb8433cbc2f8101e59a285d50b0497273
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
tests/integration/workspace-create.yml

index ad4ff7f..194747f 100644 (file)
 
   gather_facts: no
 
+  vars_prompt:
+
+    - name: pod_name
+      prompt: 'name of the pod under test:'
+      default: qtip-pod
+      private: no
+
+    - name: scenario
+      prompt: 'scenario deployed in the pod:'
+      default: generic
+      private: no
+
+    - name: installer
+      prompt: 'installer type of the pod (apex|fuel):'
+      default: fuel
+      private: no
+
+    - name: installer_master_host
+      prompt: 'master host of the installer:'
+      default: master
+      private: no
+
+    - name: workspace
+      prompt: 'workspace name:'
+      default: workspace
+
   roles:
 
     - role: qtip-workspace
@@ -20,8 +46,8 @@
 
       # opnfv environment
 
-      installer: apex         # <fuel|apex>
-      installer_master_host: apex-virtual    # make sure you can login it with key authentication
+#      installer: apex         # <fuel|apex>
+#      installer_master_host: apex-virtual    # make sure you can login it with key authentication
 
       # set testapi_url to enable reportint to testapi